Return the type of an amiramesh file on disk or a parsed header
amiratype(x, bytes = NULL)
character vector (NA_character_ when file invalid)
Path to files on disk or a single pre-parsed parameter list
A raw vector containing at least 11 bytes from the start of the file.
Note that when checking a file we first test if it is an amiramesh
file (fast, especially when bytes!=NULL
) before reading the header
and determining content type (slow).
Other amira:
is.amiramesh()
,
read.amiramesh()
,
read.hxsurf()
,
write.hxsurf()