Extract the Value of a Binary Block
blockValue function returns the interpreted value of a block
of binary data (a
blockString function returns a null-terminated string
from a block
of binary data that is interpreted as a character data.
1 2 3
of the value returned is determined when the binary
block is created (e.g., by
not when the value is extracted
blockString function is useful for extracting
a value from a binary block which is a string padded with
blockString function throws an error if the
block is not interpreted as a character value.
Either a character, or numeric vector depending on how the binary block should be interpreted.
1 2 3 4 5 6