![]() |
VR-Forces 4.10 Class Documentation
|
Defines ReaderWriter classes for varying sized integers In most cases the DtRwInt class is the preferred class to use for representing integers in the reader writer system. More...
Go to the source code of this file.
Classes | |
| class | DtRwInt8 |
| DtRwInt that encodes the value as an 8 bit integer. More... | |
| class | DtRwInt16 |
| DtRwInt that encodes the value as a 16 bit integer. More... | |
| class | DtRwInt32 |
| DtRwInt that encodes the value as a 32 bit integer. More... | |
Namespaces | |
| DtBufferSerialize | |
| Set of utility functions for encoding and decoding various data types to a byte array. | |
Functions | |
| DT_DLL_readerWriter int | DtBufferSerialize::getSize (const DtRwInt8 &val) |
| DT_DLL_readerWriter int | DtBufferSerialize::getSize (const DtRwInt16 &val) |
| DT_DLL_readerWriter int | DtBufferSerialize::getSize (const DtRwInt32 &val) |
| DT_DLL_readerWriter char * | DtBufferSerialize::encode (const DtRwInt8 &val, char *buffer) |
| Serializes the provided value val into buffer. More... | |
| DT_DLL_readerWriter char * | DtBufferSerialize::encode (const DtRwInt16 &val, char *buffer) |
| DT_DLL_readerWriter char * | DtBufferSerialize::encode (const DtRwInt32 &val, char *buffer) |
| DT_DLL_readerWriter const char * | DtBufferSerialize::decode (DtRwInt8 &val, const char *buffer) |
| Decodes a value from buffer and places the result in val of the type specified by val. More... | |
| DT_DLL_readerWriter const char * | DtBufferSerialize::decode (DtRwInt16 &val, const char *buffer) |
| DT_DLL_readerWriter const char * | DtBufferSerialize::decode (DtRwInt32 &val, const char *buffer) |
Defines ReaderWriter classes for varying sized integers In most cases the DtRwInt class is the preferred class to use for representing integers in the reader writer system.
However, when a reader writer needs to be encoded in a very specific format, generally to meet some network specification, these classes can be used instead. They represent integers that will be encoded and decoded using specific sizes. Internal representation is the same as DtRwInt, meaning a 32 bit integer. internal storage.