Asn1BitStringCalculateUnusedBits(Byte) Method

Calculates the number of bits left unused in the final byte of content.

Definition

Namespace: SysadminsLV.Asn1Parser.Universal
Assembly: SysadminsLV.Asn1Parser (in SysadminsLV.Asn1Parser.dll) Version: 1.2.11
C#
public static byte CalculateUnusedBits(
	byte[] bytes
)

Parameters

bytes  Byte
A byte array to process.

Return Value

Byte
The number of unused bits.

Exceptions

ArgumentNullExceptionbytes parameter is null reference.

See Also