Table of Contents

Method GetEncodedData

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

GetEncodedData(out ulong)

Gets the image encoded data.

public nint GetEncodedData(out ulong size)

Parameters

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).