| Class | Description |
|---|---|
| BufferedIO |
BufferedIO is often the best buffering implementation when we need both bufferization and seek operations.
|
| BufferedIO.MemoryManagement |
Manages memory usage and delayed write operations of BufferedIO instances.
|
| BufferedIO.ReadWrite |
Writable BufferedIO.
|
| BufferedReverseIOReading |
IO that can read bytes backward.
|
| BufferedToInputStream |
Implements an InputStream from an IO.Readable.Buffered.
|
| ByteArrayIO |
IO implemented with a single byte array.
|
| ByteBuffersIO |
Implementation of IO using a list of byte array.
|
| IOInMemoryOrFile |
Store data first in memory, then if exceeding a given amount of memory, store the remaining
data in a file.
This can be used when the amount of data is not known, and we want to keep good performance with small data (all in memory), but do not allocate too much memory when having large data. A typical usage is when a server is receiving an uploaded file, and the size is not known in advance. This IO is writable and readable: the written data are readable. |
| MemoryIO |
Implementation of a seekable readable and writable IO, using an array of byte array.
|
| PreBufferedReadable |
Often the best implementation when reading sequentially (streaming, without seek): it fills a first buffer
as soon as instantiated, once the first buffer is filled new buffers are pre-filled.
|
| ReadableToSeekable |
Convert a Readable into a Seekable.
|
| SimpleBufferedReadable |
This implementation of buffered readable IO use a simple buffering strategy, with 2 buffers:
while the first one is used, the second is filled in background.
|
| SimpleBufferedWritable |
Simple implementation of a buffered writable using 2 buffers.
The first buffer is first filled with written data. |
| SingleBufferReadable |
This is the less efficient buffered readable implementation: it uses a single buffer, which is filled only when first byte
is read (and so is blocking).
|
| TwoBuffersIO |
Read an IO.Readable into 2 buffers, then those buffers can be read when ready.
|
| TwoBuffersIO.DeterminedSize |
Add DeterminedSize capability.
|
Copyright © 2019. All rights reserved.