Table of Contents

Class MaaMarshaller

Namespace
MaaFramework.Binding.Interop.Native
Assembly
MaaFramework.Binding.Native.dll

A class that implements the extension methods for converting between MaaDef types and C# types.

[CustomMarshaller(typeof(string), MarshalMode.ManagedToUnmanagedOut, typeof(MaaStringViewMarshaller))]
[CustomMarshaller(typeof(IMaaCustomController), MarshalMode.ManagedToUnmanagedIn, typeof(MaaCustomControllerMarshaller.ManagedToUnmanagedIn))]
public static class MaaMarshaller

Inheritance

Inherited Members

Methods

ConvertToMaaOptionValue(int)

Converts a System.Int32 to a MaaOptionValue (System.Byte[]).

ConvertToMaaOptionValue(bool)

Converts a System.Boolean to a MaaOptionValue (System.Byte[]).

ConvertToMaaOptionValue(string)

Converts a System.String to a MaaOptionValue (System.Byte[]).

ConvertToString(nint, ulong)

Converts a MaaStringView (System.IntPtr) to a System.String.