writeUint24 method

void writeUint24(
  1. int x
)

Writes a Uint24 to the buffer.

Implementation

void writeUint24(int x) {
  writeUint16(x);
  writeUint8(x >> 16);
}