Click or drag to resize
DfsExtensionsdfsEncodeT Method

Namespace: DHI.Generic.MikeZero.DFS
Assembly: DHI.Generic.MikeZero.DFS (in DHI.Generic.MikeZero.DFS.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
public static T[] dfsEncode<T>(
	T[] uncompressed,
	int xSize,
	int ySize,
	int zSize,
	int[] xKey,
	int[] yKey,
	int[] zKey
)

Parameters

uncompressed
Type: T
Array of data that is to be compressed
xSize
Type: SystemInt32
size in x-dimension of uncompressed array
ySize
Type: SystemInt32
size in y-dimension of uncompressed array. 1 if data does not have a y-dimension
zSize
Type: SystemInt32
size in z-dimension of uncompressed array. 1 if data does not have a z-dimension
xKey
Type: SystemInt32
X encoding key. All values of array must be below xSize
yKey
Type: SystemInt32
Y encoding key. All values of array must be below ySize
zKey
Type: SystemInt32
Z encoding key. All values of array must be below zSize

Type Parameters

T

Return Value

Type: T
A compressed array
Remarks
Dynamic item data are automatically encoded by the ufs.dll. Static items are not so.
See Also