This document is archived and information here might be outdated.  Recommended version.


IZlibCompression.Compress Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (System)  

IZlibCompression.Compress Method

Compress the current the input buffer. Uses best compression.

[Visual Basic .NET]
Public Sub Compress ( _
    ByVal inSize As Integer, _
    ByRef pInBuff As Byte&, _
    ByRef pOutSize As Integer, _
    ByRef pOutBuff As Byte& _
)
[C#]
public void Compress (
    int inSize,
    ref Byte& pInBuff,
    ref int pOutSize,
    ref Byte& pOutBuff
);
[C++]
HRESULT Compress(
  long inSize,
  System.Byte* pInBuff,
  System.Int32* pOutSize,
  System.Byte* pOutBuff
);
[C++]

Parameters inSize [in]
inSize is a parameter of type long pInBuff [in]
pInBuff is a parameter of type unsigned char* pOutSize [in, out]
pOutSize is a parameter of type long* pOutBuff [in, out]
pOutBuff is a parameter of type unsigned char*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IZlibCompression Interface