FixedStringBuilder16 Struct
public struct FixedStringBuilder16 : IFixedString, IFixedString<FixedStringBuilder16>, IEquatable<FixedStringBuilder16>, IFormattable, ISpanFormattableNo documentation is available.
- Implements
Constructors
| Name | Description |
|---|---|
| FixedStringBuilder16(int, int) | |
| FixedStringBuilder16(string) |
FixedStringBuilder16 overloads
FixedStringBuilder16(int, int)
FixedStringBuilder16(string)
Properties
| Name | Description |
|---|---|
| Length | |
| MaxLength |
Length
MaxLength
Methods
AppendFormatted overloads
AppendFormatted(ReadOnlySpan<char>)
public void AppendFormatted(ReadOnlySpan<char> value)Parameters
valueReadOnlySpan<char>
No documentation is available.
AppendFormatted(ReadOnlySpan<char>, int)
public void AppendFormatted(ReadOnlySpan<char> value, int alignment)Parameters
valueReadOnlySpan<char>alignmentint
No documentation is available.
AppendFormatted(ReadOnlySpan<char>, int, string?)
public void AppendFormatted(ReadOnlySpan<char> value, int alignment, string? format)Parameters
valueReadOnlySpan<char>alignmentintformatstring?
No documentation is available.
AppendFormatted(ReadOnlySpan<char>, string?)
public void AppendFormatted(ReadOnlySpan<char> value, string? format)Parameters
valueReadOnlySpan<char>formatstring?
No documentation is available.
AppendFormatted(string)
AppendFormatted(string, int)
AppendFormatted(string, int, string?)
AppendFormatted(string, string?)
AppendFormatted<T>(T)
public void AppendFormatted<T>(T value)Type parameters
T
Parameters
valueT
No documentation is available.
AppendFormatted<T>(T, int)
AppendFormatted<T>(T, int, string?)
AppendFormatted<T>(T, string?)
AppendLiteral(ReadOnlySpan<char>)
public void AppendLiteral(ReadOnlySpan<char> value)Parameters
valueReadOnlySpan<char>
No documentation is available.
AsSpan()
Clear overloads
Clear()
Resets this string to an empty string.
public void Clear()Remarks
Only the length is reset. The characters that were written are not overwritten and stay in the underlying buffer. Do not rely on this method to erase sensitive data.
Clear(bool)
Resets this string to an empty string, optionally overwriting the underlying buffer with zeros.
Parameters
zeroBufferbooltrueto overwrite the whole underlying buffer with'\0', so the characters that were written can no longer be read;falseto only reset the length, asFixedStringBuilder16.Cleardoes.
Remarks
The whole buffer is overwritten, not only the characters up to FixedStringBuilder16.Length: a previous longer value can still be present after FixedStringBuilder16.Length.
Equals overloads
Equals(FixedStringBuilder16)
public readonly bool Equals(FixedStringBuilder16 other)No documentation is available.
Equals(FixedStringBuilder16, StringComparison)
public readonly bool Equals(FixedStringBuilder16 other, StringComparison comparison)No documentation is available.
Equals(object?)
GetHashCode()
ToString overloads
ToString()
ToString(string?, IFormatProvider?)
public readonly string ToString(string? format, IFormatProvider? formatProvider)No documentation is available.
TryFormat(Span<char>, int, ReadOnlySpan<char>, IFormatProvider?)
public readonly bool TryFormat(Span<char> destination, out int charsWritten, ReadOnlySpan<char> format, IFormatProvider? provider)Parameters
destinationSpan<char>charsWrittenintformatReadOnlySpan<char>providerIFormatProvider?
Returns
No documentation is available.
global::Meziantou.Framework.FixedStringBuilder.IFixedString.GetUnsafeFullSpan()
Operators
| Name | Description |
|---|---|
| operator ==(FixedStringBuilder16, FixedStringBuilder16) | |
| implicit operator FixedStringBuilder16(string) | |
| operator !=(FixedStringBuilder16, FixedStringBuilder16) |
operator ==(FixedStringBuilder16, FixedStringBuilder16)
public static bool operator ==(FixedStringBuilder16 left, FixedStringBuilder16 right)No documentation is available.
implicit operator FixedStringBuilder16(string)
public static implicit operator FixedStringBuilder16(string value)No documentation is available.
operator !=(FixedStringBuilder16, FixedStringBuilder16)
public static bool operator !=(FixedStringBuilder16 left, FixedStringBuilder16 right)No documentation is available.