Description Usage Arguments Details Value Author(s) See Also Examples
This function creates an "atomicBlock"
object, which is
a description of a block of binary data. This can be used
as part of a description of a binary format.
1 2 3 |
type |
How the block of binary data will be interpreted.
either |
width |
The number of bytes to print per row when displaying the block. |
machine |
How to print each byte when displaying; either
|
size |
The number of bytes used to generate each value when interpreting the raw binary as character or numeric data. |
endian |
The endianness of the binary data; used when interpreting bytes as numeric values. |
signed |
Whether the bytes should be interpreted as a signed numeric value. |
An "atomicBlock"
object describes a binary block
representing a single value.
Several standard binary types are predefined (with common
C type equivalents in brackets):
ASCIIchar
(char),
integer1
(signed char),
integer2
(short),
integer3
,
integer4
(int, long),
integer8
(long long),
real4
(float),
real8
(double).
An "atomicBlock"
object.
Paul Murrell
memFormat
readFormat
memBlock
vectorBlock
lengthBlock
mixedBlock
markedBlock
1 2 3 | # A C long
atomicBlock("int", size=4)
integer4
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.