Low-Level File Operations

The Wolfram Language provides efficient system-independent direct access to all aspects of files of any size.

ReferenceReference

File Opening & Closing

OpenRead  ▪  OpenWrite  ▪  OpenAppend  ▪  CreateTemporary  ▪  Close

File Options

Options  ▪  SetOptions  ▪  CharacterEncoding  ▪  PageWidth  ▪  BinaryFormat

Streams

Streams  ▪  OutputStream  ▪  InputStream  ▪  StringToStream

Reading & Writing

Read  ▪  ReadList  ▪  ReadString  ▪  ReadLine  ▪  Write  ▪  WriteString  ▪  WriteLine

Byte, Number specify data to read

Character  ▪  Record  ▪  Word  ▪  Real  ▪  String  ▪  Expression

RecordSeparators, WordSeparators specify data delimiters

TokenWords  ▪  NullWords  ▪  NullRecords  ▪  RecordLists

Seeking in Streams

Skip  ▪  Find  ▪  StreamPosition  ▪  SetStreamPosition

Binary Data »

BinaryRead  ▪  BinaryReadList  ▪  BinaryWrite  ▪  ...

Stream Methods »

DefineInputStreamMethod  ▪  DefineOutputStreamMethod  ▪  ...