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