Blob:getI16

Edit

Returns signed 16-bit integers from the data in the Blob.

... = Blob:getI16(offset, count)

Arguments

NameTypeDefaultDescription
offsetnumber0 A non-negative byte offset to read from.
countnumber1 The number of integers to read.

Returns

NameTypeDescription
...number count signed 16-bit integers, from -32768 to 32767.

See also