Wheefun I/O Library  0.0.5
Useful I/O Primitives.
Public Attributes | List of all members
wfio_binstream_t Struct Reference

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
 

Detailed Description

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.


The documentation for this struct was generated from the following file: