OpenRaider
0.1.4-dev
Open Source Tomb Raider Game Engine implementation
|
#include <binary.h>
Public Member Functions | |
BinaryMemory (const char *d=nullptr, long long max=-1) | |
virtual | ~BinaryMemory () |
int | open (const char *d=nullptr, long long max=-1) |
virtual long long | tell () |
virtual void | seek (long long pos=0) |
virtual bool | eof () |
Public Member Functions inherited from BinaryReader | |
virtual | ~BinaryReader () |
virtual int8_t | read8 () |
virtual uint8_t | readU8 () |
virtual int16_t | read16 () |
virtual uint16_t | readU16 () |
virtual int32_t | read32 () |
virtual uint32_t | readU32 () |
virtual int64_t | read64 () |
virtual uint64_t | readU64 () |
virtual float | readFloat () |
Private Member Functions | |
virtual void | read (char *d, int c) |
Private Attributes | |
const char * | data |
long long | offset |
long long | max |
BinaryMemory::BinaryMemory | ( | const char * | d = nullptr , |
long long | max = -1 |
||
) |
Definition at line 146 of file binary.cpp.
|
virtual |
Definition at line 150 of file binary.cpp.
int BinaryMemory::open | ( | const char * | d = nullptr , |
long long | max = -1 |
||
) |
Definition at line 153 of file binary.cpp.
|
virtual |
Implements BinaryReader.
Definition at line 166 of file binary.cpp.
|
virtual |
Implements BinaryReader.
Definition at line 171 of file binary.cpp.
|
virtual |
Implements BinaryReader.
Definition at line 176 of file binary.cpp.
|
privatevirtual |
Implements BinaryReader.
Definition at line 180 of file binary.cpp.