Poco

template < typename T >

class BasicMemoryBinaryReader

Library: Foundation
Package: Streams
Header: Poco/BinaryReader.h

Description

A convenient wrapper for using Buffer and MemoryStream with BinaryReader.

Inheritance

Direct Base Classes: BinaryReader

All Base Classes: BinaryReader

Member Summary

Member Functions: data, stream

Inherited Functions: available, bad, byteOrder, eof, fail, good, operator >>, read7BitEncoded, readBOM, readCString, readRaw, setExceptions, stream

Constructors

BasicMemoryBinaryReader inline

BasicMemoryBinaryReader(
    const Buffer < T > & data,
    StreamByteOrder byteOrder = NATIVE_BYTE_ORDER
);

BasicMemoryBinaryReader inline

BasicMemoryBinaryReader(
    const Buffer < T > & data,
    TextEncoding & encoding,
    StreamByteOrder byteOrder = NATIVE_BYTE_ORDER
);

Destructor

~BasicMemoryBinaryReader inline

~BasicMemoryBinaryReader();

Member Functions

data inline

const Buffer < T > & data() const;

stream inline

const MemoryInputStream & stream() const;

stream inline

MemoryInputStream & stream();