getUnsafe method
- @override
- @unsafeNoBoundsChecks
- Pos pos
inherited
Returns the pixel at the given position without bounds checking.
If outside the bounds of the buffer, the behavior is undefined.
Implementation
@override
@unsafeNoBoundsChecks
T getUnsafe(Pos pos) => data[_indexAtUnsafe(pos)];