Click or drag to resize
XDL

XBERCodecEncodeBER_Length Method

길이 데이터를 바이트 버퍼에 인코딩하여 추가한다.

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

Parameters

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

Return Value

Type: Int32
BER_Length 방식으로 인코딩한 길이. 버퍼가 부족하거나 다른 인코딩 오류가 발생한 경우 0을 반환한다.
See Also