Table of Contents

Method Set

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

Set(nint, nint, ulong)

Sets the image encoded data.

public static bool Set(nint handle, nint data, ulong size)

Parameters

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