setC40Word static method
Implementation
static void setC40Word(Uint8List bytes, int offset, int c1, int c2, int c3) {
final val16 = (1600 * (c1 & 0xff)) + (40 * (c2 & 0xff)) + (c3 & 0xff) + 1;
bytes[offset] = (val16 ~/ 256);
bytes[offset + 1] = (val16 % 256);
}