ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Common::MemoryReadStreamEndian Class Reference

This is a MemoryReadStream subclass which adds non-endian read methods whose endianness is set on the stream creation. More...

#include <memstream.h>

Inheritance diagram for Common::MemoryReadStreamEndian:
Collaboration diagram for Common::MemoryReadStreamEndian:

List of all members.

Public Member Functions

 MemoryReadStreamEndian (const byte *buf, uint32 len, bool bigEndian, DisposeAfterUse::Flag disposeMemory=DisposeAfterUse::NO)
int32 pos () const
int32 size () const
bool seek (int32 offs, int whence=SEEK_SET)
bool skip (uint32 offset)

Detailed Description

This is a MemoryReadStream subclass which adds non-endian read methods whose endianness is set on the stream creation.

Definition at line 81 of file memstream.h.


Constructor & Destructor Documentation

Common::MemoryReadStreamEndian::MemoryReadStreamEndian ( const byte buf,
uint32  len,
bool  bigEndian,
DisposeAfterUse::Flag  disposeMemory = DisposeAfterUse::NO 
) [inline]

Definition at line 83 of file memstream.h.


Member Function Documentation

int32 Common::MemoryReadStreamEndian::pos (  )  const [inline]

Definition at line 86 of file memstream.h.

bool Common::MemoryReadStreamEndian::seek ( int32  offs,
int  whence = SEEK_SET 
) [inline]

Definition at line 89 of file memstream.h.

int32 Common::MemoryReadStreamEndian::size (  )  const [inline]

Definition at line 87 of file memstream.h.

bool Common::MemoryReadStreamEndian::skip ( uint32  offset  )  [inline]

Definition at line 91 of file memstream.h.


The documentation for this class was generated from the following file:


Generated on Sat Sep 12 2020 05:04:26 for ResidualVM by doxygen 1.7.1
curved edge   curved edge