Packs a given PackedBundle into a Stream.
Packs a given PackedBundle into a Stream.
The StreamPacker will write as many words to output
as necessary to pack
all fields. Fields that exceed a word width will be wrapped into as many subsequent words needed.
Note, no overlap checking is performed.
Stream Data type
PackedBundel type
Stream to write to
PackedBundle to pack from
StreamPacker instance
Packs a given layout of Data fields into a Stream.
Packs a given layout of Data fields into a Stream.
Field layout is accepted as pairs of Data and their start bits. Starting bits are interpreted as absolute bit
positions within a multi-word layout. The StreamPacker will write as many words to output
as necessary to pack
all fields. Fields that exceed a word width will be wrapped into as many subsequent words needed.
Note, no overlap checking is performed.
Stream Data type
Stream to write to
List of Data fields and their start bits
StreamPacker instance
(Since version ) see corresponding Javadoc for more information.