Skip to content

extractUint16

extractUint16(data, byteIndex): uint64

Extracts 2 bytes from the given data starting at the given index and converts them to uint16

Parameters

data: BytesLike

bytes to extract from

byteIndex: IntLike

Returns

uint64

uint16 as uint64

Source

types/global.d.ts:1120