Optional buffer: Uint8ArrayThe initial buffer, provide a buffer if you need to set "initial capacity"
Optional readingOffset: numberSet the cursor where begins to read. Default 0
Optional writingOffset: numberSet the cursor to not start writing from the begin of it. Defaults to the buffer size
Private #private
ByteBuffer is a wrapper of DataView which also adds a read and write offset. Also in a write operation it resizes the buffer is being used if it needs.
It always passes littleEndian param as true