Get the payload of a NIFTI v2 header extension as raw bytes.
Source:R/nifti2_extensions.R
nifti2.extension.content.RdGet the payload of a NIFTI v2 header extension as raw bytes.
Arguments
- extension
a NIFTI v2 header extension, a named list with entries 'ecode' and 'content', see
nifti2.extension.- strip_nul
logical, whether to remove NUL bytes from the payload. This is required to convert the payload to a character string.
See also
Other nifti2 extensions:
nifti2.extension(),
nifti2.extension.size(),
nifti2.extension.text(),
nifti2.get.extension()