readAvailableBytes method
Reads all available bytes into a Uint8List.
Bytes are considered available if the index of the position, in this case the readerIndex, is smaller than the current writer index and is not discardable, i.E. smaller than the current readerIndex.
Implementation
Uint8List readAvailableBytes() => readBytes(readableBytes);