powered by
This function creates a "memBlock" object, which is a description of a block of binary data. This can be used as part of a description of a binary format.
"memBlock"
memBlock(nbytes = 1, width = NULL, machine = "hex")
The number of bytes in the block.
The number of bytes to print per row when displaying the block.
How to print each byte when displaying; either "hex" or "binary".
"hex"
"binary"
A "memBlock" object.
A binary block that is read in from a file using this description is interpreted as nbytes single-byte characters.
nbytes
The description includes parameters controlling how a block of data should be displayed if this description is used to read in a block of binary data.
memFormat readFormat atomicBlock vectorBlock lengthBlock mixedBlock markedBlock
memFormat
readFormat
atomicBlock
vectorBlock
lengthBlock
mixedBlock
markedBlock
# NOT RUN { memBlock(8) # }
Run the code above in your browser using DataLab