C# 클래스 System.Formats.Asn1.AsnWriter

파일 보기 프로젝트 열기: mikedn/runtime

공개 메소드들

메소드 설명
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