Google is committed to advancing racial equity for Black communities. See how.

encodeUint8 method

void encodeUint8 (int value, int offset)

Implementation

void encodeUint8(int value, int offset) {
  _checkRange(value, 0, 255);
  data.setUint8(offset, value);
}