memFormat: Create a memFormat Object

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/memFormat.R

Description

This function creates a "memFormat" object which is a description of a binary file format.

Usage

1

Arguments

...

One or more "memBlock" objects.

Details

A "memFormat" object is made up of one or more "memBlock" objects.

Value

A "memFormat" object.

Author(s)

Paul Murrell

See Also

readFormat memBlock atomicBlock vectorBlock lengthBlock mixedBlock markedBlock

Examples

1

Example output

$int1
$type
[1] "int"

$width
NULL

$machine
[1] "hex"

$size
[1] 4

$endian
[1] "little"

$signed
[1] TRUE

attr(,"class")
[1] "atomicBlock" "memBlock"   

$int2
$type
[1] "int"

$width
NULL

$machine
[1] "hex"

$size
[1] 4

$endian
[1] "little"

$signed
[1] TRUE

attr(,"class")
[1] "atomicBlock" "memBlock"   

attr(,"class")
[1] "memFormat"

hexView documentation built on May 2, 2019, 7:02 a.m.