Lines Matching refs:ByteType
19 typedef unsigned char ByteType;
23 size_t encode(ByteType*& pBuf, IntType pValue);
26 IntType decode(const ByteType* pBuf, size_t& pSize);
29 IntType decode(const ByteType*& pBuf);
52 size_t encode<uint64_t>(ByteType*& pBuf, uint64_t pValue);
55 size_t encode<uint32_t>(ByteType*& pBuf, uint32_t pValue);
61 size_t encode<int64_t>(ByteType*& pBuf, int64_t pValue);
64 size_t encode<int32_t>(ByteType*& pBuf, int32_t pValue);
72 uint64_t decode<uint64_t>(const ByteType* pBuf, size_t& pSize);
79 uint64_t decode<uint64_t>(const ByteType*& pBuf);
85 int64_t decode<int64_t>(const ByteType* pBuf, size_t& pSize);
88 int64_t decode<int64_t>(const ByteType*& pBuf);
97 return encode<IntType>(reinterpret_cast<ByteType*&>(pBuf), pValue);
102 return decode<IntType>(reinterpret_cast<const ByteType*>(pBuf), pSize);
107 return decode<IntType>(reinterpret_cast<const ByteType*&>(pBuf));