nifti.field.check.nchar.max: Check whether character string fields have less than or equal to expected length.
Description
Check whether character string fields have less than or equal to expected length.
Usage
nifti.field.check.nchar.max(niiheader, fields, dlength)
Value
logical, whether the checks were okay
Arguments
- niiheader
named list, representing a NIFTI v1 or v2 header
- fields
vector of character string, the field names to check
- dlength
integer, the max length of all fields