C-DEngine 5.105

TheCommonUtils..::..cdeCompressBuffer Method

Compress a portion of a byte array.

Namespace:  nsCDEngine.BaseClasses
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static byte[] cdeCompressBuffer(
	byte[] pBuffer,
	int index,
	int count
)
Public Shared Function cdeCompressBuffer ( _
	pBuffer As Byte(), _
	index As Integer, _
	count As Integer _
) As Byte()
public:
static array<unsigned char^>^ cdeCompressBuffer(
	array<unsigned char^>^ pBuffer, 
	int^ index, 
	int^ count
)

Parameters

pBuffer
Type: array<Byte>[]()[][]
Pointer to the buffer to compress.
index
Type: Int32
The starting location to use.
count
Type: Int32
The number of bytes to compress.

Return Value

A byte array holding the compressed data.