Decode a big-endian 16-bit integer from an Int8List.
static int decodeShort(final Int8List buf, int off) { return (((buf[0 + off] & 0xff) << 8) | ((buf[1 + off] & 0xff))); }