peekBytes method

  1. @override
Uint8List peekBytes(
  1. int start,
  2. int length
)
override

Gives a peek of the bytescurrentIndex, currentIndex + length Does not increments the current index

Implementation

@override
Uint8List peekBytes(int start, int length) {
  return _buffer.sublist(start, start + length);
}