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
bufferHandle
nint-
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(IMaaRectBuffer)
Copies all values of the current buffer to the specified buffer.
public bool TryCopyTo(IMaaRectBuffer buffer)
Parameters
buffer
IMaaRectBuffer-
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.