40 BinaryReader(
char* nBuffer,
size_t nBufferSize);
46 BinaryReader(Stream* nStream);
52 BinaryReader(std::shared_ptr<Stream> nStream);
63 void SetEndianness(Endianness endianness);
68 Endianness GetEndianness()
const;
80 uint32_t GetBaseAddress();
89 void Read(int32_t length);
96 void Read(
char* buffer, int32_t length);
120 uint16_t ReadUInt16();
123 uint32_t ReadUInt32();
126 uint64_t ReadUInt64();
140 std::string ReadString();
148 std::string ReadCString();
153 std::vector<char> ToVector();
156 std::shared_ptr<Stream> mStream;
@ Native
Platform is little-endian; Native resolves to Little.
Core namespace for the libultraship engine framework.
Definition gfx_direct3d_common.h:14
SeekOffsetType
Identifies the reference point for a seek operation.
Definition Stream.h:10