viewUint8List function
Returns view of x
, accounting for when x
is another view.
Implementation
Uint8List viewUint8List(Uint8List x, [int offset = 0, int length]) =>
Uint8List.view(x.buffer, x.offsetInBytes + offset, length ?? x.length);
Returns view of x
, accounting for when x
is another view.
Uint8List viewUint8List(Uint8List x, [int offset = 0, int length]) =>
Uint8List.view(x.buffer, x.offsetInBytes + offset, length ?? x.length);