FixedStringBuilder32 Struct
public struct FixedStringBuilder32 : IFixedString, IFixedString<FixedStringBuilder32>, IEquatable<FixedStringBuilder32>, IFormattable, ISpanFormattableNo documentation is available.
- Implements
Constructors
| Name | Description |
|---|---|
| FixedStringBuilder32(int, int) | |
| FixedStringBuilder32(string) |
FixedStringBuilder32 overloads
FixedStringBuilder32(int, int)
FixedStringBuilder32(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, asFixedStringBuilder32.Cleardoes.
Remarks
The whole buffer is overwritten, not only the characters up to FixedStringBuilder32.Length: a previous longer value can still be present after FixedStringBuilder32.Length.
Equals overloads
Equals(FixedStringBuilder32)
public readonly bool Equals(FixedStringBuilder32 other)No documentation is available.
Equals(FixedStringBuilder32, StringComparison)
public readonly bool Equals(FixedStringBuilder32 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 ==(FixedStringBuilder32, FixedStringBuilder32) | |
| implicit operator FixedStringBuilder32(string) | |
| operator !=(FixedStringBuilder32, FixedStringBuilder32) |
operator ==(FixedStringBuilder32, FixedStringBuilder32)
public static bool operator ==(FixedStringBuilder32 left, FixedStringBuilder32 right)No documentation is available.
implicit operator FixedStringBuilder32(string)
public static implicit operator FixedStringBuilder32(string value)No documentation is available.
operator !=(FixedStringBuilder32, FixedStringBuilder32)
public static bool operator !=(FixedStringBuilder32 left, FixedStringBuilder32 right)No documentation is available.