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


IZlibCompression.Compress Method (ArcObjects .NET 10.4 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,
  Byte* pInBuff,
  long* pOutSize,
  Byte* pOutBuff
);
[C++]

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

Product Availability

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

See Also

IZlibCompression Interface