Struct LazyEncodedStringMarshaller.ManagedToUnmanagedIn
- Namespace
- Ubiquity.NET.InteropHelpers
- Assembly
- Ubiquity.NET.InteropHelpers.dll
Stateful custom marshaller to marshal LazyEncodedString as an unmanaged string
public ref struct LazyEncodedStringMarshaller.ManagedToUnmanagedIn
- Inherited Members
Remarks
A stateful marshaller is needed to hold the pinned state of the managed string
Methods
- Free()
Frees any allocated unmanaged string memory.
- FromManaged(LazyEncodedString?)
Initializes the marshaller with a managed string and requested buffer.
- ToUnmanaged()
Converts the current managed string to an unmanaged string.