# System.Formats.Asn1

``` diff
 namespace System.Formats.Asn1 {
     public static class AsnDecoder {
+        public static int? DecodeLength(ReadOnlySpan<byte> source, AsnEncodingRules ruleSet, out int bytesConsumed);
+        public static bool TryDecodeLength(ReadOnlySpan<byte> source, AsnEncodingRules ruleSet, out int? decodedLength, out int bytesConsumed);
     }
 }
```

