it.unimi.dsi.fastutil.io |
fastutil
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.
|
Java Source File Name | Type | Comment |
FastBufferedInputStream.java | Class | Lightweight, unsynchronized, aligned input stream buffering class with
,
,
and
support.
This class provides buffering for input streams, but it does so with
purposes and an internal logic that are radically different from the ones
adopted in
java.io.BufferedInputStream . |
FastBufferedOutputStream.java | Class | Lightweight, unsynchronized output stream buffering class. |
FastByteArrayInputStream.java | Class | Simple, fast and repositionable byte-array input stream. |
FastByteArrayOutputStream.java | Class | Simple, fast byte-array output stream that exposes the backing array.
java.io.ByteArrayOutputStream is nice, but to get its content you
must generate each time a new object. |
FastMultiByteArrayInputStream.java | Class | Simple, fast and repositionable byte array input stream that multiplexes its content among several arrays.
This class is significantly slower than
FastByteArrayInputStream ,
but it can hold 256 PiB of data. |
MeasurableInputStream.java | Class | An
java.io.InputStream that provides eager access to its length,
and keeps track of the current position (e.g., the number of bytes read so far). |
RepositionableStream.java | Interface | A basic interface specifying positioning methods for a byte stream. |