Table of Contents

Interface IMaaImageBufferStatic<THandle>

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

An interface defining wrapped static abstract members for MaaImageBuffer with generic handle.

public interface IMaaImageBufferStatic<THandle>

Type Parameters

THandle

The type of handle.

Methods

TryGetEncodedData(THandle, out byte[])

Gets the image encoded data from a MaaImageBuffer.

TryGetEncodedData(THandle, out Stream)

Gets the image encoded data from a MaaImageBuffer.

TryGetEncodedData(THandle, out ReadOnlySpan<byte>)

Gets the image encoded data from a MaaImageBuffer.

TryGetEncodedData(out byte[], Func<THandle, bool>)

Gets the image encoded data from a function using MaaRectBuffer.

TrySetEncodedData(THandle, byte[])

Sets the image encoded data to a MaaImageBuffer.

TrySetEncodedData(THandle, Stream)

Sets the image encoded data to a MaaImageBuffer.

TrySetEncodedData(THandle, ReadOnlySpan<byte>)

Sets the image encoded data to a MaaImageBuffer.

TrySetEncodedData(byte[], Func<THandle, bool>)

Sets the image encoded data to a function using MaaRectBuffer.

TrySetEncodedData(Stream, Func<THandle, bool>)

Sets the image encoded data to a function using MaaRectBuffer.

TrySetEncodedData(ReadOnlySpan<byte>, Func<THandle, bool>)

Sets the image encoded data to a function using MaaRectBuffer.