# readUnsigned

> **readUnsigned**(`view`, `offset`, `width`): `number`

Defined in: [packages/wire/src/primitives.ts:57](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/wire/src/primitives.ts#L57)

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](/reference/knotkit/wire/functions/readintegerrun/), which rejects it with the package’s geometry failure.

## Parameters

### view

`DataView`

### offset

`number`

### width

[`IntegerWidth`](/reference/knotkit/wire/type-aliases/integerwidth/)

## Returns

`number`
