Skip to content

readUnsigned(view, offset, width): number

Defined in: packages/wire/src/primitives.ts:57

Read one unsigned little-endian field of width bytes at offset.

A width-8 field is returned as a number and may exceed the safe-integer range; callers that need the safe bound use readIntegerRun, which rejects it with the package’s geometry failure.

DataView

number

IntegerWidth

number