Simple wrapper for reading in character values with embedded nulls in a binary file

cifti_read_char(fid, n, to = "UTF-8")

Arguments

fid

identifier of the open file connection

n

number of elements to read

to

A character string describing the target encoding.

Value

Character vector