| pack {rdyncall} | R Documentation |
Functions to read/write low-level structure data held as pointer or in a raw vector.
.pack1(x, offset, sigchar, value) value <- .unpack1(x, offset, sigchar) offsetPtr(x, offset)
x |
An atomic vector or external pointer. |
offset |
Positive integer specifying the offset from within the beginning (item 0) given in bytes. |
sigchar |
Data type specifying the low-level representation of value |
value |
Value |
These functions can be used for manipulating C-level structure data. Atomic vectors are first adjusted to start at the first element (offset 0).