write8 method

BcsWriter write8(
  1. int value
)

Write a U8 value into a buffer and shift cursor position by 1.

Implementation

BcsWriter write8(int value) {
  ensureSizeOrGrow(1);
  _dataView.setUint8(_bytePosition, value);
  return shift(1);
}