Package it.unimi.dsi.fastutil.io

Provides classes and static methods that make object and primitive-type I/O easier and faster.

See:
          Description

Interface Summary
MeasurableStream An stream that provides eager access to its length, and keeps track of the current position (e.g., the number of bytes read so far, or the current position of the file pointer).
RepositionableStream A basic interface specifying positioning methods for a byte stream.
 

Class Summary
BinIO Provides static methods to perform easily binary I/O.
FastBufferedInputStream Lightweight, unsynchronized, aligned input stream buffering class with true skipping, measurability, repositionability and line reading support.
FastBufferedOutputStream Lightweight, unsynchronized output stream buffering class with measurability and repositionability.
FastByteArrayInputStream Simple, fast and repositionable byte-array input stream.
FastByteArrayOutputStream Simple, fast byte-array output stream that exposes the backing array.
FastMultiByteArrayInputStream Simple, fast and repositionable byte array input stream that multiplexes its content among several arrays.
InspectableFileCachedInputStream A repositionable MeasurableInputStream based on cached data received by a WritableByteChannel whose first bytes can be inspected directly.
MeasurableInputStream An InputStream that implements also the MeasurableStream interface.
MeasurableOutputStream An OutputStream that implements also the MeasurableStream interface.
TextIO Provides static methods to perform easily textual I/O.
 

Enum Summary
FastBufferedInputStream.LineTerminator An enumeration of the supported line terminators.
 

Package it.unimi.dsi.fastutil.io Description

Provides classes and static methods that make object and primitive-type I/O easier and faster.

PackageSpecificaton

Classes in this package provide very efficient, unsynchronised buffered input and output stream (with support for repositioning, too) and fast streams based on byte arrays. Static containers provide instead a wealth of methods that can be used to serialize/deserialize very easily objects and arrays.