Torque3D Documentation / _generateds / ZipCryptRStream

ZipCryptRStream

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

More...

Private Types

Parent 

Private Functions

fillBuffer(const U32 in_attemptSize, void * pBuffer)

Public Functions

bool
attachStream(Stream * io_pSlaveStream)

Gets the position in the stream.

setPassword(const char * password)
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 Attributes

S32 mFileEndPos 
S32 mFileStartPos 
U32 mKeys [3]
const char * mPassword 
Stream * mStream 
S32 mStreamStartPos 

Private Functions

fillBuffer(const U32 in_attemptSize, void * pBuffer)

Public Functions

ZipCryptRStream()

~ZipCryptRStream()

attachStream(Stream * io_pSlaveStream)

Reimplemented from: FilterStream

detachStream()

Reimplemented from: FilterStream

getPosition()

Reimplemented from: FilterStream

getStream()

Reimplemented from: FilterStream

setFileEndPos(S32 pos)

setPassword(const char * password)

setPosition(const U32 in_newPosition)

Reimplemented from: FilterStream

Protected Functions

_read(const U32 in_numBytes, void * out_pBuffer)

Reimplemented from: FilterStream

decryptByte()

updateKeys(const U8 c)