public void Write(ASN1Boolean value) { WriteIdentifier(ASN1Class.Universal, false, ASN1UniversalTag.Boolean); WriteLength(value.ByteLength); _writer.Write((byte)(value.Value ? 255 : 0)); }
public void Write(ASN1Boolean value) { WriteIdentifier(ASN1Class.Universal, false, ASN1UniversalTag.Boolean); WriteLength(value.ByteLength); writer.Write((byte)(value.Value ? 255 : 0)); }