operator [] method

int operator [](
  1. int index
)

Get a byte in the buffer relative to the current offset position.

Implementation

int operator [](int index) => _bytes[offset + index];