Library: Remoting/Binary
Package: Binary
Header: Poco/Remoting/Binary/BinaryStream.h
The base class for BinaryInputStream and BinaryOutputStream.
This class provides common methods and is also needed to ensure the correct initialization order of the stream buffer and base classes.
Direct Base Classes: std::ios
All Base Classes: std::ios
Known Derived Classes: BinaryInputStream, BinaryOutputStream
Member Functions: close, rdbuf
BinaryIOS(
std::istream & istr
);
Creates the BinaryIOS and connects it to the given input stream.
BinaryIOS(
std::ostream & ostr
);
Creates the BinaryIOS and connects it to the given output stream.
~BinaryIOS();
Destroys the stream.
void close();
Writes the terminating period, followed by CR-LF.
BinaryStreamBuf * rdbuf();
Returns a pointer to the underlying streambuf.
BinaryStreamBuf _buf;