Lines Matching defs:ByteBuffer
24 const int32_t ByteBuffer::MAX_PRINT_LENGTH = 200;
25 const int32_t ByteBuffer::HEX_PRINT_LENGTH = 3;
41 ByteBuffer::ByteBuffer() : buffer(nullptr), position(0), limit(0), capacity(0)
45 ByteBuffer::ByteBuffer(int32_t bufferCapacity) : buffer(nullptr), position(0), limit(0), capacity(0)
50 ByteBuffer::ByteBuffer(const char* arr, int32_t length) : buffer(nullptr), position(0), limit(0), capacity(0)
56 ByteBuffer::ByteBuffer(const ByteBuffer& other) : buffer(nullptr), position(0), limit(0), capacity(0)
69 ByteBuffer::~ByteBuffer()
73 void ByteBuffer::Init(int32_t bufferCapacity)
89 ByteBuffer& ByteBuffer::operator=(const ByteBuffer& other)
108 bool ByteBuffer::CheckInputForGettingData(int32_t index, int32_t dataLen)
127 bool ByteBuffer::GetInt64(int64_t& value)
137 bool ByteBuffer::GetInt64(int32_t index, int64_t& value)
150 int32_t ByteBuffer::GetCapacity() const
155 const char* ByteBuffer::GetBufferPtr() const
160 bool ByteBuffer::GetInt32(int32_t& value)
170 bool ByteBuffer::GetInt32(int32_t index, int32_t& value)
183 bool ByteBuffer::GetUInt32(int32_t index, uint32_t& value)
196 bool ByteBuffer::GetUInt32(uint32_t& value)
206 bool ByteBuffer::GetUInt16(uint16_t& value)
216 bool ByteBuffer::GetUInt16(int32_t index, uint16_t& value)
229 bool ByteBuffer::GetInt16(int16_t& value)
239 bool ByteBuffer::GetInt16(int32_t index, int16_t& value)
252 bool ByteBuffer::GetUInt8(uint8_t& value)
262 bool ByteBuffer::GetUInt8(int32_t index, uint8_t& value)
275 bool ByteBuffer::GetInt8(int8_t& value)
285 bool ByteBuffer::GetInt8(int32_t index, int8_t& value)
298 void ByteBuffer::PutInt64(int64_t value)
309 void ByteBuffer::PutInt32(int32_t offset, int32_t value)
318 void ByteBuffer::PutInt16(int32_t offset, int16_t value)
327 void ByteBuffer::PutByte(int32_t offset, char value)
336 void ByteBuffer::PutData(int32_t offset, const char data[], int32_t len)
345 void ByteBuffer::PutData(int32_t offset, const int8_t data[], int32_t len)
354 void ByteBuffer::PutData(int32_t offset, const char data[], int32_t len, int32_t type)
365 void ByteBuffer::PutInt32(int32_t value)
376 void ByteBuffer::PutInt16(int16_t value)
387 void ByteBuffer::PutUInt8(uint8_t value)
398 void ByteBuffer::PutUInt16(uint16_t value)
409 void ByteBuffer::PutUInt32(uint32_t value)
420 void ByteBuffer::ClearData()
429 void ByteBuffer::PutByte(char value)
440 void ByteBuffer::Put(const ByteBuffer& byteBuffer)
445 void ByteBuffer::PutData(const char data[], int32_t len)
456 void ByteBuffer::PutData(int8_t data[], int32_t len)
467 void ByteBuffer::GetByte(int8_t data[], int32_t len)
474 void ByteBuffer::GetData(char data[], uint32_t len)
481 void ByteBuffer::GetData(int32_t offset, int8_t data[], uint32_t len)
488 void ByteBuffer::SetPosition(int32_t pos)
495 ByteBuffer& ByteBuffer::slice_for_codesigning()
509 ByteBuffer& ByteBuffer::Slice()
534 ByteBuffer* ByteBuffer::Duplicate()
536 ByteBuffer* newBuffer = new ByteBuffer();
544 int32_t ByteBuffer::GetPosition() const
549 int32_t ByteBuffer::GetLimit() const
554 void ByteBuffer::SetLimit(int32_t lim)
561 int32_t ByteBuffer::Remaining() const
566 bool ByteBuffer::HasRemaining() const
571 void ByteBuffer::Clear()
577 ByteBuffer& ByteBuffer::Flip()
584 bool ByteBuffer::IsEqual(const ByteBuffer& other)
604 bool ByteBuffer::IsEqual(const std::string& other)
620 void ByteBuffer::SetCapacity(int32_t cap)
631 std::string ByteBuffer::ToString()