ReadOnlySpanMarshaller<T,TUnmanagedElement>.ManagedToUnmanagedIn.FromManaged Método

Definición

public:
 void FromManaged(ReadOnlySpan<T> managed, Span<TUnmanagedElement> buffer);
public void FromManaged (ReadOnlySpan<T> managed, Span<TUnmanagedElement> buffer);
member this.FromManaged : ReadOnlySpan<'T> * Span<'UnmanagedElement (requires 'UnmanagedElement : struct)> -> unit
Public Sub FromManaged (managed As ReadOnlySpan(Of T), buffer As Span(Of TUnmanagedElement))

Parámetros

managed
ReadOnlySpan<T>

Intervalo que se va a serializar.

buffer
Span<TUnmanagedElement>

Búfer que se puede usar para serializar.

Comentarios

no buffer debe ser extraíble, es decir, no debe estar en el montón administrado o debe anclarse.

Se aplica a