IZlibCompression Interface

Provides access to compress and uncompress texture data.

Members

Name Description
Read-only property BufferSize Estimated buffer size of compress/uncompress texture data.
Method Compress Compress the current the input buffer. Uses best compression.
Method CompressByLevel Compress the current the input buffer by level. If level less than 0, use default, if greater than best use best.
Method UnCompress UnCompress the current the input buffer.

IZlibCompression.BufferSize Property

Estimated buffer size of compress/uncompress texture data.

Public Function get_BufferSize ( _
    ByVal Size As Integer _
) As Integer
public int get_BufferSize (
    int Size
);

IZlibCompression.Compress Method

Compress the current the input buffer. Uses best compression.

Public Sub Compress ( _
    ByVal inSize As Integer, _
    ByRef pInBuff As Byte&, _
    ByRef pOutSize As Integer, _
    ByRef pOutBuff As Byte& _
)
public void Compress (
    int inSize,
    ref Byte& pInBuff,
    ref int pOutSize,
    ref Byte& pOutBuff
);

IZlibCompression.CompressByLevel Method

Compress the current the input buffer by level. If level less than 0, use default, if greater than best use best.

Public Sub CompressByLevel ( _
    ByVal inSize As Integer, _
    ByRef pInBuff As Byte&, _
    ByVal level As Integer, _
    ByRef pOutSize As Integer, _
    ByRef pOutBuff As Byte& _
)
public void CompressByLevel (
    int inSize,
    ref Byte& pInBuff,
    ref int level,
    ref int pOutSize,
    ref Byte& pOutBuff
);

IZlibCompression.UnCompress Method

UnCompress the current the input buffer.

Public Sub UnCompress ( _
    ByVal inSize As Integer, _
    ByRef pInBuff As Byte&, _
    ByRef pOutSize As Integer, _
    ByRef pOutBuff As Byte& _
)
public void UnCompress (
    int inSize,
    ref Byte& pInBuff,
    ref int pOutSize,
    ref Byte& pOutBuff
);

Classes that implement IZlibCompression

Classes Description

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.