This commit is contained in:
watrabi
2025-09-18 17:55:52 -04:00
commit 977f1ff4b8
15030 changed files with 17324420 additions and 0 deletions
@@ -0,0 +1,21 @@
#pragma once
#include "boost/cstdint.hpp"
namespace RBX {
struct Base64BinaryInputStream {
private:
const char* source;
boost::uint16_t buffer;
size_t readableBitsInBuffer;
static unsigned char decode(unsigned char charFromString);
public:
Base64BinaryInputStream(const char* source);
// numBitsToRead needs to be >= 1 and <= 8.
void ReadBits(unsigned char* out, size_t numBitsToRead);
};
}