Lines Matching defs:ByteBuffer
35 * The underlying storage structure of ByteBuffer is an array, and all operations are based on that array.
36 * ByteBuffer is in its initial state and also in a write state after creation
38 * 1. Several position related member variables in the ByteBuffer class
43 * Capacity: represents the capacity of ByteBuffer, which is the maximum number of bytes that can be stored
48 * 2. Set ByteBuffer from writer state to read state: limit is set to position value, position is set to zero
56 class ByteBuffer {
58 DLL_EXPORT ByteBuffer();
59 DLL_EXPORT explicit ByteBuffer(int32_t bufferCapacity);
60 DLL_EXPORT ByteBuffer(const char* arr, int32_t length);
61 DLL_EXPORT ByteBuffer(const ByteBuffer& other);
62 DLL_EXPORT ~ByteBuffer();
63 DLL_EXPORT ByteBuffer& operator=(const ByteBuffer& other);
93 DLL_EXPORT void Put(const ByteBuffer& byteBuffer);
105 DLL_EXPORT ByteBuffer& Slice();
106 DLL_EXPORT ByteBuffer& slice_for_codesigning();
107 DLL_EXPORT ByteBuffer* Duplicate();
111 DLL_EXPORT ByteBuffer& Flip();
113 DLL_EXPORT bool IsEqual(const ByteBuffer& other);
116 DLL_EXPORT ByteBuffer& RewindHap();