getUInt24 static method

int getUInt24(
  1. Uint8List buf,
  2. int offset
)

Implementation

static int getUInt24(Uint8List buf, int offset) {
  return (buf[offset] & 0xff) |
      ((buf[offset + 1] & 0xff) << 8) |
      ((buf[offset + 2] & 0xff) << 16);
}