getUInt16 static method

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

Implementation

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