class Poco::MemoryInputStream

Overview

An input stream for reading from a memory area. Moreā€¦

#include <MemoryStream.h>

class MemoryInputStream:
    public Poco::MemoryIOS,
    public istream
{
public:
    // construction

    MemoryInputStream(
        const char* pBuffer,
        std::streamsize bufferSize
        );
};

Inherited Members

public:
    // methods

    MemoryStreamBuf*
    rdbuf();

protected:
    // fields

    MemoryStreamBuf _buf;

Detailed Documentation

An input stream for reading from a memory area.

Construction

MemoryInputStream(
    const char* pBuffer,
    std::streamsize bufferSize
    )

Creates a MemoryInputStream for the given memory area, ready for reading.