Skip to content

Roots pacbin() Function

Dan Kranz edited this page Nov 21, 2020 · 1 revision

The integer, num, is packed into the block position indicated by field.

Syntax

Roots.pacbin(num, block, field)

Parameter Values

Parameter Description
num The integer to store
block Uint8Array memory block
field A field definition array. The first element specifies the starting byte location. The second element specifies the length in bytes. Length must be at least 1 and no greater than 4.
Clone this wiki locally