Library: Remoting/Binary
Package: Binary
Header: Poco/Remoting/Binary/BinaryStream.h
The sole purpose of this stream buffer is to detect end-of-stream
Direct Base Classes: Poco::UnbufferedStreamBuf
All Base Classes: Poco::UnbufferedStreamBuf
Member Functions: close, readFromDevice, readOne, writeToDevice
BinaryStreamBuf(
std::istream & istr
);
Creates the BinaryStreamBuf and connects it to the given input stream.
BinaryStreamBuf(
std::ostream & ostr
);
Creates the BinaryStreamBuf and connects it to the given output stream.
~BinaryStreamBuf();
Destroys the BinaryStreamBuf.
void close();
Closes the stream
int readFromDevice();
int readOne();
int writeToDevice(
char c
);