Click or drag to resize
XDL

XBERCodecEncode Method (Byte, Int32, UInt64)

부호 없는 64비트 정수값을 바이트 버퍼에 인코딩하여 추가한다.

Namespace:  Pixoneer.NXDL.NXVideo
Assembly:  NXVideo (in NXVideo.dll) Version: 1.2.817.72
Syntax
C#
public static int Encode(
	ref byte[] buf,
	int offset,
	ulong value
)

Parameters

buf
Type: SystemByte
[IN/OUT] 인코딩 데이터 버퍼.
offset
Type: SystemInt32
버퍼에서 새 인코딩 데이터가 기록되는 위치.
value
Type: SystemUInt64
인코딩하려는 정수.

Return Value

Type: Int32
빅-엔디안(Big-Endian)으로 인코딩한 길이. 정상적인 경우 8이 반환되고, 버퍼가 부족하거나 다른 인코딩 오류가 발생한 경우 0을 반환한다.
See Also