summaryrefslogtreecommitdiff
path: root/lib/binarytools/BinaryReader.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/binarytools/BinaryReader.h')
-rw-r--r--lib/binarytools/BinaryReader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/binarytools/BinaryReader.h b/lib/binarytools/BinaryReader.h
index 59eeb52..02e65cc 100644
--- a/lib/binarytools/BinaryReader.h
+++ b/lib/binarytools/BinaryReader.h
@@ -23,6 +23,7 @@ class BinaryReader {
void Seek(int32_t offset, SeekOffsetType seekType);
uint32_t GetBaseAddress();
+ size_t GetLength();
void Read(int32_t length);
void Read(char* buffer, int32_t length);
@@ -34,6 +35,8 @@ class BinaryReader {
uint16_t ReadUInt16();
uint32_t ReadUInt32();
uint64_t ReadUInt64();
+ unsigned short ReadUShort();
+ short ReadShort();
float ReadFloat();
double ReadDouble();
std::string ReadString();