getInt16 method

int getInt16()

Reads 2-bytes as a signed integer.

The offset must satisy the relations 0offsetoffset+2this.length.

Implementation

int getInt16() => getInt(ByteLength.i16);