C# Класс System.Formats.Asn1.AsnWriter

Показать файл Открыть проект

Открытые методы

Метод Описание
WriteNamedBitList ( BitArray value, Asn1Tag? tag = null ) : void

Write a bit array value as a NamedBitList with a specified tag.

The index of the bit array corresponds to the bit number in the encoded format, which is different than the value produced by BitArray.CopyTo with a byte array. For example, the bit array { false, true, true } encodes as 0b0110_0000 with 5 unused bits.

WriteNamedBitList ( Enum value, Asn1Tag? tag = null ) : void

Write a [FlagsAttribute] enum value as a NamedBitList with a specified tag.

WriteNamedBitList ( value, Asn1Tag? tag = null ) : void

Write a [FlagsAttribute] enum value as a NamedBitList with a specified tag.

Приватные методы

Метод Описание
WriteBitArray ( BitArray value, Asn1Tag? tag ) : void
WriteNamedBitList ( Asn1Tag? tag, Type tEnum, Enum value ) : void
WriteNamedBitList ( Asn1Tag? tag, ulong integralValue ) : void

Описание методов

WriteNamedBitList() публичный Метод

Write a bit array value as a NamedBitList with a specified tag.
The index of the bit array corresponds to the bit number in the encoded format, which is different than the value produced by BitArray.CopyTo with a byte array. For example, the bit array { false, true, true } encodes as 0b0110_0000 with 5 unused bits.
/// . is /// , but /// . is not correct for /// the method. /// /// is . ///
public WriteNamedBitList ( BitArray value, Asn1Tag? tag = null ) : void
value BitArray The bits to write
tag Asn1Tag? The tag to write, or for the default tag (Universal 3).
Результат void

WriteNamedBitList() публичный Метод

Write a [FlagsAttribute] enum value as a NamedBitList with a specified tag.
/// . is /// , but /// . is not correct for /// the method. /// /// -or- /// /// is not a boxed enum value. /// /// -or- /// /// the unboxed type of is not declared []. /// /// is . ///
public WriteNamedBitList ( Enum value, Asn1Tag? tag = null ) : void
value Enum The boxed enumeration value to write
tag Asn1Tag? The tag to write, or for the default tag (Universal 3).
Результат void

WriteNamedBitList() публичный Метод

Write a [FlagsAttribute] enum value as a NamedBitList with a specified tag.
/// . is /// , but /// . is not correct for /// the method. /// /// -or- /// /// is not an enum value. /// /// -or- /// /// is not declared []. ///
public WriteNamedBitList ( value, Asn1Tag? tag = null ) : void
value The enumeration value to write
tag Asn1Tag? The tag to write, or for the default tag (Universal 3).
Результат void