![]() |
VR-Forces 4.10 Class Documentation
|
Instances of DtStreamReader decode values from a byte array The data in the stream is expected to be in big endian format and will be returned in the system format. More...

Public Member Functions | |
| DtBigEndianStreamReader (unsigned char *buffer, int length, bool makeCopy=false) | |
| constructor makes a copy of the buffer to work on. More... | |
| virtual | ~DtBigEndianStreamReader () |
| destructor More... | |
| virtual short | readInt16 () |
| value readers return a value and increment the current position in the byte stream based on the size value More... | |
| virtual unsigned short | readUInt16 () |
| virtual int | readInt32 () |
| virtual unsigned | readUInt32 () |
| virtual long long | readInt64 () |
| virtual unsigned long long | readUInt64 () |
| virtual float | readSingle () |
| virtual double | readDouble () |
Public Member Functions inherited from makVrf::DtStreamReader | |
| DtStreamReader (unsigned char *buffer, int length, bool makeCopy=false) | |
| constructor makes a copy of the buffer to work on. More... | |
| virtual | ~DtStreamReader () |
| destructor More... | |
| virtual bool | readBool () |
| value readers return a value and increment the current position in the byte stream based on the size value More... | |
| virtual char | readInt8 () |
| virtual unsigned char | readUInt8 () |
| virtual std::string | readString () |
| virtual DtVector | readVector () |
| virtual DtTaitBryan | readTaitBryan () |
| DtQuaternion | readQuaternion () |
| DtEntityIdentifier | readEntityId () |
| DtEntityType | readEntityType () |
| unsigned char * | readBytes (int length) |
| virtual void | readBytes (unsigned char *buffer, int length) |
Additional Inherited Members | |
Protected Member Functions inherited from makVrf::DtStreamReader | |
| int | decodeStringSize () |
| determine the size of a string from a variable length encoded integer More... | |
Protected Attributes inherited from makVrf::DtStreamReader | |
| unsigned char * | myBuffer |
| unsigned char * | myReadHead |
| int | myLength |
| bool | myShouldDelete |
Instances of DtStreamReader decode values from a byte array The data in the stream is expected to be in big endian format and will be returned in the system format.
| makVrf::DtBigEndianStreamReader::DtBigEndianStreamReader | ( | unsigned char * | buffer, |
| int | length, | ||
| bool | makeCopy = false |
||
| ) |
constructor makes a copy of the buffer to work on.
|
virtual |
destructor
|
virtual |
value readers return a value and increment the current position in the byte stream based on the size value
Reimplemented from makVrf::DtStreamReader.
|
virtual |
Reimplemented from makVrf::DtStreamReader.
|
virtual |
Reimplemented from makVrf::DtStreamReader.
|
virtual |
Reimplemented from makVrf::DtStreamReader.
Reimplemented from makVrf::DtStreamReader.
Reimplemented from makVrf::DtStreamReader.
|
virtual |
Reimplemented from makVrf::DtStreamReader.
|
virtual |
Reimplemented from makVrf::DtStreamReader.