ZipSubRStream

Engine/source/core/util/zip/zipSubStream.h

More...

Private Types

Parent 

Private Functions

fillBuffer(const U32 in_attemptSize)

Public Functions

bool
attachStream(Stream * io_pSlaveStream)

Gets the position in the stream.

Gets the size of the stream.

bool

Checks to see if this stream has the capability of a given function.

bool
setPosition(const U32 in_newPosition)

Sets the position of the stream. Returns if the new position is valid or not.

Protected Functions

bool
_read(const U32 in_numBytes, void * out_pBuffer)

Detailed Description

Private Types

typedef FilterStream Parent 

Private Static Attributes

const U32 csm_inputBufferSize 
const U32 csm_streamCaps 

Private Attributes

U32 m_currentPosition 
bool m_EOS 
U32 m_lastBytesRead 
U32 m_originalSlavePosition 
U8 * m_pInputBuffer 
Stream * m_pStream 
z_stream_s * m_pZipStream 
U32 m_uncompressedSize 

Private Functions

fillBuffer(const U32 in_attemptSize)

Public Functions

ZipSubRStream()

~ZipSubRStream()

attachStream(Stream * io_pSlaveStream)

Reimplemented from: FilterStream

detachStream()

Reimplemented from: FilterStream

getLastBytesRead()

Reimplemented from: IStreamByteCount

getLastBytesWritten()

Reimplemented from: IStreamByteCount

getPosition()

Reimplemented from: FilterStream

getStream()

Reimplemented from: FilterStream

getStreamSize()

Reimplemented from: FilterStream

hasCapability(const caps)

Reimplemented from: FilterStream

setPosition(const U32 in_newPosition)

Reimplemented from: FilterStream

setUncompressedSize(const U32)

Protected Functions

_read(const U32 in_numBytes, void * out_pBuffer)

Reimplemented from: FilterStream