Table of Contents

Class MaaImageListBuffer

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

A class providing a reference implementation for Maa Image List Buffer section of MaaFramework.Binding.Interop.Native.MaaBuffer.

public class MaaImageListBuffer : MaaListBuffer<nint, MaaImageBuffer>, IMaaListBuffer<nint, MaaImageBuffer>, IMaaListBuffer<MaaImageBuffer>, IList<MaaImageBuffer>, ICollection<MaaImageBuffer>, IEnumerable<MaaImageBuffer>, IEnumerable, IMaaBuffer<nint, IMaaListBuffer<MaaImageBuffer>>, IMaaBuffer<IMaaListBuffer<MaaImageBuffer>>, IMaaDisposableHandle<nint>, IMaaDisposable, IDisposable, IMaaImageListBufferStatic<nint>

Inheritance

Implements

Inherited Members

Constructors

MaaImageListBuffer(nint)

Creates a MaaFramework.Binding.Buffers.MaaImageListBuffer instance.

MaaImageListBuffer()

Creates a MaaFramework.Binding.Buffers.MaaImageListBuffer instance.

Properties

IsEmpty

Gets a value indicates whether the MaaFramework.Binding.Buffers.IMaaListBuffer`1 is empty.

IsReadOnly

Gets a value indicating whether the System.Collections.Generic.ICollection`1 is read-only.

MaaSizeCount

Gets the number of elements contained in the MaaFramework.Binding.Buffers.IMaaListBuffer`1.

this[ulong]

Gets the element at the specified index.

Methods

Dispose(bool)

Releases all resources from MaaFramework.

ReleaseHandle()

When overridden in a derived class, executes the code required to free the handle.

TryAdd(MaaImageBuffer)

Adds (Copys) an element to the MaaFramework.Binding.Buffers.IMaaListBuffer`1.

TryClear()

Removes all elements from the MaaFramework.Binding.Buffers.IMaaListBuffer`1.

TryCopyTo(nint)

Copies all values of the current buffer to the specified buffer.

TryGetEncodedDataList(nint, out IList<byte[]>)

Gets the image encoded data list from a MaaImageListBuffer.

TryGetEncodedDataList(out IList<byte[]>, Func<nint, bool>)

Gets the image encoded data list from a function using MaaImageListBuffer.

TryIndexOf(MaaImageBuffer, out ulong)

Attempts to get index of the specified element.

TryRemoveAt(ulong)

Removes the element at the specified index.

TrySetEncodedDataList(nint, IEnumerable<byte[]>)

Sets the image encoded data list to a MaaImageListBuffer.

TrySetEncodedDataList(nint, IEnumerable<Stream>)

Sets the image encoded data list to a MaaImageListBuffer.

TrySetEncodedDataList(IEnumerable<byte[]>, Func<nint, bool>)

Sets the image encoded data list to a function using MaaImageListBuffer.

TrySetEncodedDataList(IEnumerable<Stream>, Func<nint, bool>)

Sets the image encoded data list to a function using MaaImageListBuffer.