Click or drag to resize
SoDataCompressorCompress Method

Compresses the given buffer into the internal buffer.

Namespace: OIV.LDM.Compressors
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public ulong Compress(
	SbNativeArray<byte> src,
	ulong srcLen,
	SoDataCompressorTileInfo tileInfo
)

Parameters

src
Type: OIV.Inventor.GenericSbNativeArrayByte

a pointer to the data to compress.

srcLen
Type: SystemUInt64

the size of the source buffer in bytes.

tileInfo
Type: OIV.LDM.CompressorsSoDataCompressorTileInfo

contains information about the tile being processed.

Return Value

Type: UInt64

The size in bytes of the compressed buffer.

Remarks

See Also