operator [] method

int operator [](
  1. int index
)

Returns the byte at index.

Implementation

int operator [](final int index) => buffer[index];