Table of Contents

Method SetEncodedData

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

SetEncodedData(nint, ulong)

Sets the image encoded data.

public bool SetEncodedData(nint data, ulong size)

Parameters

data nint

The encoded data of image.

size ulong

The encoded size of image.

Returns

bool

true if the image encoded data was set successfully; otherwise, false.

Remarks

Wrapper of MaaFramework.Binding.Interop.Native.MaaBuffer.MaaImageBufferSetEncoded(System.IntPtr,System.IntPtr,System.UInt64).