Method TryCopyTo
- Namespace
- MaaFramework.Binding.Buffers
- Assembly
- MaaFramework.Binding.dll
TryCopyTo(THandle)
Copies all values of the current buffer to the specified buffer.
public abstract bool TryCopyTo(THandle bufferHandle)
Parameters
bufferHandle
THandle-
The handle of the buffer that is the destination of values copied from the current buffer.
Returns
Exceptions
- NotSupportedException
-
The MaaFramework.Binding.Buffers.IMaaBuffer`2 is read-only.
TryCopyTo(IMaaListBuffer<T>)
Copies all values of the current buffer to the specified buffer.
public bool TryCopyTo(IMaaListBuffer<T> buffer)
Parameters
buffer
IMaaListBuffer<T>-
The buffer that is the destination of values copied from the current buffer.
Returns
Exceptions
- NotSupportedException
-
The MaaFramework.Binding.Buffers.IMaaBuffer`1 is read-only.