This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> // std::cout, std::endl | |
#include <cstring> // std::memset | |
#include <cstddef> | |
#include <memory> | |
// This code isn't good, just written quickly as a PoC, uses c-style casts and such, etc etc, avoid using this in it's current state. | |
// This is heavily untested and wrote for the purpose of this example. | |
// In this context, a "block" references to a region of bits, this could be 8, 16, 32, 64 bits, whatever datatype you want. | |
class DynamicBitset { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
This file contains definitions used in the Hex-Rays decompiler output. | |
It has type definitions and convenience macros to make the | |
output more readable. | |
Copyright (c) 2007-2022 Hex-Rays | |
*/ |