Packs data to an unsigned or signed integer array.

This node packs MN-sized binary data of the form b i = {0,1}, to an unsigned or signed integer array a_n,

where

• i = 0…MN-1, and M denotes the number of bits per integer
• n = 0…N-1, and N denotes the size of the array

## input bit stream

The binary bit stream to be packed into integers.

The binary bit stream must be in the form b i = {0,1}

where

• i = 0…MN-1, and M denotes the number of bits per integer
• n = 0…N-1, and N denotes the size of the array

Default: empty

## bits per integer

Number of binary data values that are packed into an integer.

If you set the integer format parameter to Unsigned, the maximum value is 31. If you set the integer format parameter to Signed, the maximum value is 32.

Default: 1

## packed bit order

The order in which the binary data stream is packed into integers.

 MSB first Data is packed with the most significant bit (MSB) first. LSB first Data is packed with the least significant bit (LSB) first.

Default: MSB first

## integer format

Input integer format.

 Unsigned The entire number is packed as a positive integer. Signed The most significant bit (MSB) determines the sign of the input integer.

Default: Unsigned

## error in

Error conditions that occur before this node runs. The node responds to this input according to standard error behavior.

Default: no error

## reset ?

A Boolean that determines how the node handles buffered data. When the length of the input bit stream is not a multiple of the bits per integer value, the leftover bits are buffered inside the node. When you set reset? to FALSE, these buffered bits are prepended to the input bit stream during the next iteration.

Default: TRUE

## output integers

The output integer stream a n n = 0…N-1, corresponding to the packed bits.

## error out

Error information. The node produces this output according to standard error behavior.