Click or drag to resize
XDL

XBERCodecEncodeBER_OID Method

식별자를 바이트 버퍼에 인코딩하여 추가한다.

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

Parameters

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

Return Value

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