Click or drag to resize

PERAlignedEncoderencodeUnconstraintNumber Method

Encoding of a unconstrained whole number ITU-T X.691. 10.8. NOTE – (Tutorial) This case only arises in the encoding of the value of an integer type with no lower bound. The procedure encodes the value as a 2's-complement-binary-integer into the minimum number of octets required to accommodate the encoding, and requires an explicit length encoding (typically a single octet) as specified in later procedures.

Namespace: GSF.ASN1.Coders.PER
Assembly: GSF.ASN1 (in GSF.ASN1.dll) Version: 2.4.181-beta
Syntax
protected virtual int encodeUnconstraintNumber(
	long val,
	BitArrayOutputStream stream
)
View Source

Parameters

val  Int64
 
stream  BitArrayOutputStream
 

Return Value

Int32
See Also