Method TryCopyTo
- Namespace
 - MaaFramework.Binding.Buffers
 
- Assembly
 - MaaFramework.Binding.Native.dll
 
TryCopyTo(nint)
Copies all values of the current buffer to the specified buffer.
public bool TryCopyTo(nint bufferHandle)Parameters
bufferHandlenint- 
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(IMaaImageBuffer)
Copies all values of the current buffer to the specified buffer.
public bool TryCopyTo(IMaaImageBuffer buffer)Parameters
bufferIMaaImageBuffer- 
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.