Struct MarshaledString
This class converts a string to a UTF8 encoded byte array and then copies it to an unmanaged buffer. This is done, so we can pass it to the native code and avoid pinning.
Implements
IDisposable
Namespace: Microsoft.ML.OnnxRuntime
Assembly: Microsoft.ML.OnnxRuntime.dll
Syntax
public struct MarshaledString
Methods
| Improve this Doc View SourceDispose()
IDisposable implementation
Declaration
public void Dispose()
Implements
IDisposable