Del via


AsnWriter.GetEncodedLength Method

Definition

Gets the number of bytes that would be written by TryEncode(Span<Byte>, Int32).

public:
 int GetEncodedLength();
public int GetEncodedLength ();
member this.GetEncodedLength : unit -> int
Public Function GetEncodedLength () As Integer

Returns

The number of bytes that would be written by TryEncode(Span<Byte>, Int32).

Exceptions

Applies to