This commit is contained in:
watrabi
2025-10-28 14:05:46 -04:00
parent 977f1ff4b8
commit c93494f795
452 changed files with 47860 additions and 152 deletions
+21
View File
@@ -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);
};
}