Module dlib.core.stream
Binary I/O stream interfaces
Functions
Name | Description |
copyFromTo(input, output)
|
While input is readable, reads data from input and writes it to output.
Returns number of bytes read
|
Interfaces
Name | Description |
InputStream
|
A stream inteface that allows to read data from it.
Reading any data implies position advance by corresponding number of bytes.
Methods shouldn't throw on EOF, may throw on a more serious error
|
IOStream
|
A stream that allows both reading and writing data
|
OutputStream
|
A stream interface that allows to write data into it.
Methods shouldn't throw on full disk, may throw on a more serious error
|
Seekable
|
Seekable stream interface
|
Stream
|
A parent interface for all stream types
|
Classes
Name | Description |
ArrayStream
|
An InputStream that encapsulates contents of an array
|
SeekException
|
An exception which is throwed on stream errors
|
Structs
Name | Description |
BufferedStreamReader
|
An input range that reads data from InputStream by fixed chunks,
storing them in user-provided array
|