Character32
Background & Context
-
- Sequence of 32-bit characters.
- Raw binary format.
Import & Export
- Import["file","Character32"] imports any file, returning a list of 32-bit characters.
- Export["file",list,"Character32"] exports a list of 32-bit characters to file.
- Import["file",{"Character32",elem}] or Import["file",elem ] imports the specified element from file.
- Import["file",{"Character32",{elem1,elem2,…}}] imports multiple elements.
- See the following reference pages for full general information:
-
Import, Export import from or export to a file CloudImport, CloudExport import from or export to a cloud object ImportString, ExportString import from or export to a string ImportByteArray, ExportByteArray import from or export to a byte array
Import Elements
- General Import elements:
-
"Elements" list of elements and options available in this file "Summary" summary of the file "Rules" list of rules for all available elements - Data representation element:
-
"Data" list of 32-bit characters - By default, Import and Export use the "Data" element.
- Import["file",{"Character32",n}] gives the n 4-byte character.
- If a 4-byte sequence does not represent a valid character, the empty string "" is returned.
Options
- General option:
-
ByteOrdering $ByteOrdering what byte ordering to use - Import option:
-
"HeaderBytes" 0 how many bytes to skip at the beginning of the file