Wheefun I/O Library
0.0.5
Useful I/O Primitives.
|
A stream intended for binary output. More...
#include <bin.h>
Public Attributes | |
wfio_endian_t | endian |
wfio_endian_t | floatEndian |
int | ecode |
const size_t | refcount |
A stream intended for binary output.
A binstream is a stream that is intended for working with files that have some sort of binary representation. This refines the device concept by adding a notion of stream endianness and integer writing functions.
A binstream may optionally be buffered. If the underlying peer is also buffered, then the binstream is in turn double-buffered. By default, a binstream is buffered on creation when the underlying stream is unbuffered.