Skip to content

readByte

readByte(binary, offset) → number · Binary

Read a single byte from binary data at the given offset.

  • binary (required): binary data

  • offset (required): byte offset (0-based)

utlx
readByte($input.data, 0)                 // first byte value (0-255)

Released under AGPL-3.0.