Click or drag to resize
XDL

XBERCodecDecode Method (Byte, Int32, Int32, Boolean, Byte)

정해진 길이의 인코딩 데이터를 바이트 순서를 지정하여 얻는다.

Namespace:  Pixoneer.NXDL.NXVideo
Assembly:  NXVideo (in NXVideo.dll) Version: 1.2.817.72
Syntax
C#
public static int Decode(
	byte[] data,
	int offset,
	int itemSize,
	bool convertEndian,
	byte[] item
)

Parameters

data
Type: SystemByte
인코딩된 데이터 바이트 배열.
offset
Type: SystemInt32
입력 바이트 배열에서 디코딩하려는 데이터 시작 위치.
itemSize
Type: SystemInt32
디코딩하려는 데이터 인코딩 길이.
convertEndian
Type: SystemBoolean
바이트 순서 변경 여부. 표준 인코딩은 빅-엔디안(Big-Endian) 방식이다.
item
Type: SystemByte
[OUT] 디코딩 데이터.

Return Value

Type: Int32
디코딩한 데이터의 인코딩 길이. 정상적으로 디코딩을 하였다면 itemSize와 같아야 한다.
See Also