Table of Contents

Method TryCopyTo

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

TryCopyTo(THandle)

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

bool TryCopyTo(THandle bufferHandle)

Parameters

bufferHandle THandle

The handle of the buffer that is the destination of values copied from the current buffer.

Returns

bool

true if the operation was executed successfully; otherwise, false.

Exceptions

NotSupportedException

The MaaFramework.Binding.Buffers.IMaaBuffer`2 is read-only.