Class MaaStringBuffer
- Namespace
- MaaFramework.Binding.Buffers
- Assembly
- MaaFramework.Binding.Native.dll
A class providing a reference implementation for Maa String Buffer section of MaaFramework.Binding.Interop.Native.MaaBuffer.
public class MaaStringBuffer : MaaDisposableHandle<nint>, IMaaStringBuffer<nint>, IMaaStringBuffer, IMaaBuffer<nint, IMaaStringBuffer>, IMaaBuffer<IMaaStringBuffer>, IMaaDisposableHandle<nint>, IMaaDisposable, IDisposable, IMaaStringBufferStatic<nint>
Inheritance
Implements
Inherited Members
Constructors
- MaaStringBuffer(nint)
-
Creates a MaaFramework.Binding.Buffers.MaaStringBuffer instance.
- MaaStringBuffer()
-
Creates a MaaFramework.Binding.Buffers.MaaStringBuffer instance.
Properties
- IsEmpty
-
Gets a value indicates whether the string of the MaaFramework.Binding.Buffers.IMaaStringBuffer is empty.
- Size
-
Gets the size of the string.
Methods
- ReleaseHandle()
-
When overridden in a derived class, executes the code required to free the handle.
- ToString()
-
Returns a string that represents the current object.
- TryClear()
-
Clears the string of the MaaFramework.Binding.Buffers.IMaaStringBuffer.
- TryCopyTo(nint)
-
Copies all values of the current buffer to the specified buffer.
- TryCopyTo(IMaaStringBuffer)
-
Copies all values of the current buffer to the specified buffer.
- TryGetValue(out string)
-
Gets the string from a MaaStringBuffer.
- TryGetValue(nint, out string)
-
Gets the string from a MaaStringBuffer.
- TryGetValue(out string, Func<nint, bool>)
-
Gets the string from a function using MaaRectBuffer.
- TrySetValue(string, bool)
-
Sets the string to a MaaStringBuffer.
- TrySetValue(nint, string, bool)
-
Sets the string to a MaaStringBuffer.
- TrySetValue(string, bool, Func<nint, bool>)
-
Sets the string to a function using MaaRectBuffer.