AsnWriter.GetEncodedLength 方法

定义

获取将由 TryEncode(Span<Byte>, Int32) 写入的字节数。

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

返回

将由 TryEncode(Span<Byte>, Int32) 写入的字节数。

例外

适用于