writeUint24 method

void writeUint24(
  1. int integer
)

Writes a 24 bit integer to the buffer.

Implementation

void writeUint24(int integer) {
  _list[_writePos++] = integer & 0xFF;
  _list[_writePos++] = integer >> 8 & 0xFF;
  _list[_writePos++] = integer >> 16 & 0xFF;
}