Enumerations | |
enum | { VectorSizeBitSize = 8, ByteBufferSizeBitSize = 10 } |
Functions | |
void | read (TNL::BitStream &s, TNL::StringPtr *val) |
Reads a string from a BitStream. | |
void | write (TNL::BitStream &s, TNL::StringPtr &val) |
Rrites a string into a BitStream. | |
void | read (TNL::BitStream &s, TNL::ByteBufferPtr *val) |
Reads a ByteBuffer from a BitStream. | |
void | write (TNL::BitStream &s, TNL::ByteBufferPtr &val) |
Writes a ByteBuffer into a BitStream. | |
void | read (TNL::BitStream &s, TNL::IPAddress *val) |
Reads an IP address from a BitStream. | |
void | write (TNL::BitStream &s, TNL::IPAddress &val) |
Writes an IP address into a BitStream. | |
void | read (TNL::BitStream &s, TNL::StringTableEntry *val) |
Reads a StringTableEntry from a BitStream. | |
void | write (TNL::BitStream &s, TNL::StringTableEntry &val) |
Writes a StringTableEntry into a BitStream. | |
template<typename T> void | read (TNL::BitStream &s, T *val) |
Reads a generic object from a BitStream. | |
template<typename T> void | write (TNL::BitStream &s, T &val) |
Writes a generic object into a BitStream. | |
template<typename T> void | read (TNL::BitStream &s, TNL::Vector< T > *val) |
Reads a Vector of objects from a BitStream. | |
template<typename T> void | write (TNL::BitStream &s, TNL::Vector< T > &val) |
Writes a Vector of objects into a BitStream. | |
template<TNL::U32 BitCount> void | read (TNL::BitStream &s, TNL::Int< BitCount > *val) |
Reads a bit-compressed integer from a BitStream. | |
template<TNL::U32 BitCount> void | write (TNL::BitStream &s, TNL::Int< BitCount > &val) |
Writes a bit-compressed integer into a BitStream. | |
template<TNL::U32 BitCount> void | read (TNL::BitStream &s, TNL::SignedInt< BitCount > *val) |
Reads a bit-compressed signed integer from a BitStream. | |
template<TNL::U32 BitCount> void | write (TNL::BitStream &s, TNL::SignedInt< BitCount > &val) |
Writes a bit-compressed signed integer into a BitStream. | |
template<TNL::U32 MinValue, TNL::U32 MaxValue> void | read (TNL::BitStream &s, TNL::RangedU32< MinValue, MaxValue > *val) |
Reads a bit-compressed RangedU32 from a BitStream. | |
template<TNL::U32 MinValue, TNL::U32 MaxValue> void | write (TNL::BitStream &s, TNL::RangedU32< MinValue, MaxValue > &val) |
Writes a bit-compressed RangedU32 into a BitStream. | |
template<TNL::U32 BitCount> void | read (TNL::BitStream &s, TNL::Float< BitCount > *val) |
Reads a bit-compressed SignedFloat (-1 to 1) from a BitStream. | |
template<TNL::U32 BitCount> void | write (TNL::BitStream &s, TNL::Float< BitCount > &val) |
Writes a bit-compressed SignedFloat (-1 to 1) into a BitStream. | |
template<TNL::U32 BitCount> void | read (TNL::BitStream &s, TNL::SignedFloat< BitCount > *val) |
Reads a bit-compressed Float (0 to 1) from a BitStream. | |
template<TNL::U32 BitCount> void | write (TNL::BitStream &s, TNL::SignedFloat< BitCount > &val) |
Writes a bit-compressed Float (0 to 1) into a BitStream. |
|
|
|
Reads a string from a BitStream.
|
|
Rrites a string into a BitStream.
|
|
Reads a ByteBuffer from a BitStream.
|
|
Writes a ByteBuffer into a BitStream.
|
|
Reads an IP address from a BitStream.
|
|
Writes an IP address into a BitStream.
|
|
Reads a StringTableEntry from a BitStream.
|
|
Writes a StringTableEntry into a BitStream.
|
|
Reads a generic object from a BitStream. This can be used for any type supported by BitStream::read. |
|
Writes a generic object into a BitStream. This can be used for any type supported by BitStream::write. |
|
Reads a Vector of objects from a BitStream.
|
|
Writes a Vector of objects into a BitStream.
|
|
Reads a bit-compressed integer from a BitStream.
|
|
Writes a bit-compressed integer into a BitStream.
|
|
Reads a bit-compressed signed integer from a BitStream.
|
|
Writes a bit-compressed signed integer into a BitStream.
|
|
Reads a bit-compressed RangedU32 from a BitStream.
|
|
Writes a bit-compressed RangedU32 into a BitStream.
|
|
Reads a bit-compressed SignedFloat (-1 to 1) from a BitStream.
|
|
Writes a bit-compressed SignedFloat (-1 to 1) into a BitStream.
|
|
Reads a bit-compressed Float (0 to 1) from a BitStream.
|
|
Writes a bit-compressed Float (0 to 1) into a BitStream.
|