Asn1BitString(Byte, Boolean) Constructor

Initializes a new instance of Asn1BitString from a raw byte array to encode and parameter that indicates whether the bit length is decremented to exclude trailing zero bits.

Definition

Namespace: SysadminsLV.Asn1Parser.Universal
Assembly: SysadminsLV.Asn1Parser (in SysadminsLV.Asn1Parser.dll) Version: 1.2.11
C#
public Asn1BitString(
	byte[] valueToEncode,
	bool calculateUnusedBits
)

Parameters

valueToEncode  Byte
Raw value to encode.
calculateUnusedBits  Boolean
True if the bit length is decremented to exclude trailing zero bits. Otherwise False.

Exceptions

ArgumentNullExceptionvalueToEncode parameter is null reference.

See Also