Library: Net
Package: HTTP
Header: Poco/Net/HTTPFixedLengthStream.h
This is the streambuf class used for reading and writing fixed-size HTTP message bodies.
At most a given number of bytes are read or written.
Direct Base Classes: HTTPBasicStreamBuf
All Base Classes: HTTPBasicStreamBuf
Member Functions: readFromDevice, writeToDevice
typedef HTTPBasicStreamBuf::openmode openmode;
HTTPFixedLengthStreamBuf(
    HTTPSession & session,
    std::streamsize length,
    openmode mode
);
 
 int readFromDevice(
    char * buffer,
    std::streamsize length
);
 
 int writeToDevice(
    const char * buffer,
    std::streamsize length
);