Lines Matching defs:ByteType
23 typedef unsigned char ByteType;
27 size_t encode(ByteType *&pBuf, IntType pValue);
30 IntType decode(const ByteType *pBuf, size_t &pSize);
33 IntType decode(const ByteType *&pBuf);
56 size_t encode<uint64_t>(ByteType *&pBuf, uint64_t pValue);
59 size_t encode<uint32_t>(ByteType *&pBuf, uint32_t pValue);
65 size_t encode<int64_t>(ByteType *&pBuf, int64_t pValue);
68 size_t encode<int32_t>(ByteType *&pBuf, int32_t pValue);
76 uint64_t decode<uint64_t>(const ByteType *pBuf, size_t &pSize);
83 uint64_t decode<uint64_t>(const ByteType *&pBuf);
89 int64_t decode<int64_t>(const ByteType *pBuf, size_t &pSize);
92 int64_t decode<int64_t>(const ByteType *&pBuf);
101 return encode<IntType>(reinterpret_cast<ByteType*&>(pBuf), pValue);
106 return decode<IntType>(reinterpret_cast<const ByteType*>(pBuf), pSize);
111 return decode<IntType>(reinterpret_cast<const ByteType*&>(pBuf));