Home | History | Annotate | Download | only in Support

Lines Matching refs:ByteType

17 size_t encode<uint64_t>(ByteType*& pBuf, uint64_t pValue) {
20 ByteType byte = pValue & 0x7f;
36 size_t encode<uint32_t>(ByteType*& pBuf, uint32_t pValue) {
38 *pBuf++ = static_cast<ByteType>(pValue);
41 *pBuf++ = static_cast<ByteType>((pValue & 0x7f) | 0x80);
42 *pBuf++ = static_cast<ByteType>((pValue >> 7) & 0x7f);
45 *pBuf++ = static_cast<ByteType>((pValue & 0x7f) | 0x80);
46 *pBuf++ = static_cast<ByteType>(((pValue >> 7) & 0x7f) | 0x80);
47 *pBuf++ = static_cast<ByteType>((pValue >> 14) & 0x7f);
50 *pBuf++ = static_cast<ByteType>((pValue & 0x7f) | 0x80);
51 *pBuf++ = static_cast<ByteType>(((pValue >> 7) & 0x7f) | 0x80);
52 *pBuf++ = static_cast<ByteType>(((pValue >> 14) & 0x7f) | 0x80);
53 *pBuf++ = static_cast<ByteType>((pValue >> 21) & 0x7f);
56 *pBuf++ = static_cast<ByteType>((pValue & 0x7f) | 0x80);
57 *pBuf++ = static_cast<ByteType>(((pValue >> 7) & 0x7f) | 0x80);
58 *pBuf++ = static_cast<ByteType>(((pValue >> 14) & 0x7f) | 0x80);
59 *pBuf++ = static_cast<ByteType>(((pValue >> 21) & 0x7f) | 0x80);
60 *pBuf++ = static_cast<ByteType>((pValue >> 28) & 0x7f);
67 size_t encode<int64_t>(ByteType*& pBuf, int64_t pValue) {
72 ByteType byte = pValue & 0x7f;
89 size_t encode<int32_t>(ByteType*& pBuf, int32_t pValue) {
96 uint64_t decode<uint64_t>(const ByteType* pBuf, size_t& pSize) {
118 ByteType byte;
136 uint64_t decode<uint64_t>(const ByteType*& pBuf) {
137 ByteType byte;
184 int64_t decode<int64_t>(const ByteType* pBuf, size_t& pSize) {
186 ByteType byte;
205 int64_t decode<int64_t>(const ByteType*& pBuf) {
207 ByteType byte;