# bin/u16-at
Read an unsigned 16-bit integer (little-endian) from a byte string at `offset`.
## Syntax
[bin/u16-at $bytes $offset]
## Parameters
- `$bytes` — Byte string (raw bytes carried as a Deft string).
- `$offset` — 0-based byte offset
## Examples
def buf [bin/set-u16 [bin/zeros 2] 0 513] [bin/u16-at $buf 0] # → 513 [bin/u8-at $buf 0] # → 1
## Returns
Number. A negative or out-of-bounds offset returns `%Err{:message}`.
## See Also
`bin/u16-le-at`, `bin/u16-be-at`, `bin/set-u16`, `bin/bytes`