UString.UltraFastString Struct
- Namespace
- SatorImaging.UnityFundamentals
public struct UString.UltraFastString : IDisposable
Lightning-fast & memory-efficient string builder achieving better performance than DefaultInterpolatedStringHandler
.
- Implements
- Inherited Members
- Extension Methods
Properties
Methods
- AsSpan()
Current snapshot of internal buffer excluding unused portion.
- Clear()
Note that clearing content WON'T release internal buffer.
- Dispose()
Return instance to pool.
- EnsureRemainingCapacityAndGetSpanToWrite(int)
Expand internal buffer if required and return unused portion of internal buffer.
- GetRawBuffer()
Direct reference to internal buffer.
- NewLine()
Add new line char(s) set by NewLineChars.
- ToString()
Returns the fully qualified type name of this instance.
- ToStringAndDispose()
Get resulting string and return instance to pool.