Compartir a través de


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

Definición

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

Parámetros

managed
Span<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