6 references to CalculateEncodedSize
System.Formats.Asn1 (6)
System\Formats\Asn1\Asn1Tag.cs (5)
298/// Receives the value from <see cref="CalculateEncodedSize"/> on success, 0 on failure. 302/// <see cref="CalculateEncodedSize"/>(), <see langword="true"/> otherwise. 306int spaceRequired = CalculateEncodedSize(); 358/// <seealso cref="CalculateEncodedSize"/> 360/// <paramref name="destination"/>.<see cref="Span{T}.Length"/> &lt; <see cref="CalculateEncodedSize"/>.
System\Formats\Asn1\AsnWriter.BitString.cs (1)
138return fullSegments * FullSegmentEncodedSize + remainingEncodedSize + 3 + tag.CalculateEncodedSize();