operator [] method

int operator [](
  1. int index
)

Get a pixel from the buffer. No range checking is done.

Implementation

int operator [](int index) => data[index];