7 references to Slice
System.Formats.Asn1 (7)
System\Formats\Asn1\AsnDecoder.BitString.cs (1)
493
ReadOnlySpan<byte> encodedValue =
Slice
(cur, headerLength, length.Value);
System\Formats\Asn1\AsnDecoder.cs (3)
204
ReadOnlySpan<byte> ret =
Slice
(source, headerLength, encodedLength.Value);
608
ReadOnlySpan<byte> tlv =
Slice
(cur, 0, bytesRead + length.Value);
621
int value = ParseNonNegativeInt(
Slice
(data, 0, bytesToRead));
System\Formats\Asn1\AsnDecoder.OctetString.cs (1)
359
ReadOnlySpan<byte> contents =
Slice
(cur, headerLength, length.Value);
System\Formats\Asn1\AsnDecoder.SetOf.cs (2)
88
contents =
Slice
(source, headerLength, length.Value);
93
contents =
Slice
(source, headerLength, actualLength);