แก้ไข

แชร์ผ่าน


Utf8StringMarshaller.ManagedToUnmanagedIn Struct

Definition

Custom marshaller to marshal a managed string as a UTF-8 unmanaged string.

public: value class Utf8StringMarshaller::ManagedToUnmanagedIn
public ref struct Utf8StringMarshaller.ManagedToUnmanagedIn
type Utf8StringMarshaller.ManagedToUnmanagedIn = struct
Public Structure Utf8StringMarshaller.ManagedToUnmanagedIn
Inheritance
Utf8StringMarshaller.ManagedToUnmanagedIn

Properties

BufferSize

Gets the requested buffer size for optimized marshalling.

Methods

Free()

Frees any allocated unmanaged memory.

FromManaged(String, Span<Byte>)

Initializes the marshaller with a managed string and requested buffer.

ToUnmanaged()

Converts the current managed string to an unmanaged string.

Applies to