コード例 #1
0
        public void ByteLength_ShouldBeCorrect(int length, int expected)
        {
            var b = new ASN1BitString(new BitArray(length));

            Assert.Equal(expected, b.ByteLength);
        }
コード例 #2
0
ファイル: ASN1BitStringMetadata.cs プロジェクト: xj0229/gsf
 public ASN1BitStringMetadata(ASN1BitString annotation)
     : this(annotation.Name)
 {
 }