151 std::size_t pos = buf.
wpos();
152 buf <<
uint8(lowMask);
153 buf <<
uint8(highMask);
157 buf.
append(packed, packedSize);
159 buf.
append(packed, packedSize);
161 buf.
put(pos, lowMask);
162 buf.
put(pos + 1, highMask);
void FlushBits()
Definition: ByteBuffer.h:150
size_t wpos() const
Definition: ByteBuffer.h:454
static size_t PackUInt64(uint64 value, uint8 *mask, uint8 *result)
Definition: ByteBuffer.h:660
void put(size_t pos, T value)
Definition: ByteBuffer.h:227
void append(T value)
Definition: ByteBuffer.h:143
uint8_t uint8
Definition: g3dmath.h:164
uint8_t uint8
Definition: Define.h:152