writeByte method

void writeByte(
  1. int b
)

Write the low 8 bits of the given integer as a single byte.

Implementation

void writeByte(int b) {
  _dest.add(Uint8List.fromList([b & 0xff]));
}