setUint8 method

void setUint8(
  1. int n, [
  2. int byteOffset = 0
])

Sets n as a Uint8 at byteOffset.

Implementation

void setUint8(int n, [int byteOffset = 0]) =>
    asByteData().setUint8(byteOffset, n);