Get the payload of a NIFTI v2 header extension as raw bytes.
nifti2.extension.content(extension, strip_nul = TRUE)a raw vector, the payload of the extension.
a NIFTI v2 header extension, a named list with entries 'ecode' and 'content', see nifti2.extension.
logical, whether to remove NUL bytes from the payload. This is required to convert the payload to a character string.
Other nifti2 extensions:
nifti2.extension(),
nifti2.extension.size(),
nifti2.extension.text(),
nifti2.get.extension()