Asn1UtilsGetLengthBytes Method

Generates tag length header for specified size.

Definition

Namespace: SysadminsLV.Asn1Parser
Assembly: SysadminsLV.Asn1Parser (in SysadminsLV.Asn1Parser.dll) Version: 1.2.11
C#
public static byte[] GetLengthBytes(
	int payloadLength
)

Parameters

payloadLength  Int32
A projected tag length.

Return Value

Byte
Encoded tag length header. Return value do not contain tag and payload.

See Also