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, BinaryStream
Member Functions: close, rdbuf
BinaryIOS(
const Poco::Net::StreamSocket & socket
);
Creates the BinaryIOS and connects it to the given input stream.
~BinaryIOS();
Destroys the stream.
void close();
Writes the terminating null-length block.
BinaryStreamBuf * rdbuf();
Returns a pointer to the underlying streambuf.
BinaryStreamBuf _buf;