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