Mathematica > Data Manipulation > Importing and Exporting > Character16 >

Character16

Sequence of 16-bit characters.
Raw binary format.
  • Import can read any file as a sequence of characters.
  • Export writes a list of characters to a file.
  • Import imports any file, returning a list of 16-bit characters.
  • Export exports a list of 16-bit characters to file.
  • Import imports multiple elements.
  • See the reference pages for full general information on Import and Export.
"Elements" elements and options available in this file
"Rules"full rules for each element and option
"Options"rules for options, properties, and settings
  • Data representation element:
"Data"list of 16-bit characters
  • Import gives the n^(th) 2-byte character.
  • General option:
ByteOrdering-1what byte ordering to use
"HeaderBytes"0how many bytes to skip at the beginning of the file
Convert a list of characters to a string representing a 16-bit character array:
Show the character codes corresponding to the previous result:
Convert back to a list of characters:
Convert a list of characters to a string representing a 16-bit character array:
In[1]:=
Click for copyable input
Out[1]=
Show the character codes corresponding to the previous result:
In[2]:=
Click for copyable input
Out[2]=
Convert back to a list of characters:
In[3]:=
Click for copyable input
Out[3]=
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF