Share via


Asn1Tag.Encode(Span<Byte>) Method

Definition

Writes the BER-encoded form of this tag to destination.

public:
 int Encode(Span<System::Byte> destination);
public int Encode (Span<byte> destination);
member this.Encode : Span<byte> -> int
Public Function Encode (destination As Span(Of Byte)) As Integer

Parameters

destination
Span<Byte>

The start of where the encoded tag should be written.

Returns

The number of bytes written to destination.

Exceptions

Applies to

See also