Node:Basics, Next:, Up:Usage


The binary stream class framework divides streams into input-only, output-only and input/output supporting streams. All derived classes also inherit this partition.

All derived classes that come with the library follow a uniform naming scheme. You can identify what I/O facilities a stream provides, by looking at the class name. All class names of libbinio start with bin and end with a descriptive name of what they are meant for. In between is at most one character that describes what I/O functionality is provided. If this character is an i, the class provides input-only streams, o means output-only and no character indicates both input and output facilities.

For example, binifstream is an input-only binary stream for standard file access. binstream is the general input and output supporting stream.