Public Member Functions |
| | DtBigEndianStreamReader (unsigned char *buffer, int length, bool makeCopy=false) |
| | constructor makes a copy of the buffer to work on.
|
| virtual | ~DtBigEndianStreamReader () |
| | destructor
|
|
| virtual short | readInt16 () |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| virtual unsigned short | readUInt16 () |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| virtual int | readInt32 () |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| virtual unsigned | readUInt32 () |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| virtual long long | readInt64 () |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| virtual unsigned long long | readUInt64 () |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| virtual float | readSingle () |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| virtual double | readDouble () |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| | DtStreamReader (unsigned char *buffer, int length, bool makeCopy=false) |
| | constructor makes a copy of the buffer to work on.
|
| virtual | ~DtStreamReader () |
| | destructor
|
| virtual bool | readBool () |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| virtual char | readInt8 () |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| virtual unsigned char | readUInt8 () |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| virtual std::string | readString () |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| virtual DtVector | readVector () |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| virtual DtTaitBryan | readTaitBryan () |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| DtQuaternion | readQuaternion () |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| DtEntityIdentifier | readEntityId () |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| DtEntityType | readEntityType () |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| unsigned char * | readBytes (int length) |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| virtual void | readBytes (unsigned char *buffer, int length) |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
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.