Table of Contents

Method Get

Namespace
MaaFramework.Binding.Buffers
Assembly
MaaFramework.Binding.Native.dll

Get(nint, out ulong)

Gets the image encoded data.

public static nint Get(nint handle, out ulong size)

Parameters

handle nint
size ulong

The image encoded size.

Returns

nint

The encoded data of image(PNG).

Remarks

Wrapper of MaaFramework.Binding.Interop.Native.MaaBuffer.MaaImageBufferGetEncoded(System.IntPtr) and MaaFramework.Binding.Interop.Native.MaaBuffer.MaaImageBufferGetEncodedSize(System.IntPtr).