Skip to content

Roots bunpac() Function

Dan Kranz edited this page Nov 19, 2020 · 4 revisions

Unpacks and returns the binary integer stored within block at field

Syntax

Roots.bunpac(block, field)

Parameter Values

Parameter Description
block The memory block that stores the number. Block must be of type Uint8Array.
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