Click or drag to resize

Utf8String Methods

The Utf8String type exposes the following members.

Methods
 NameDescription
Public methodAppend(ReadOnlySpanByte) Appends a span containing utf-8 encoded data to this string.
Public methodAppend(Utf8String) Appends the specified Utf8String to this instance..
Public methodClone Creates a clone of the current Utf8String.
Public methodCompareTo(Object) Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodCompareTo(Utf8String) Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodEquals(Object) Tests this Utf8String for equality with the specified object.
(Overrides ObjectEquals(Object))
Public methodEquals(Utf8String) Tests this Utf8String for equality with the specified Utf8String.
Public methodGetHashCode Gets a hash code for this Utf8String.
(Overrides ObjectGetHashCode)
Public methodStatic memberGetLength Gets the length of a Utf8String stored in a byte array.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberParse(ReadOnlySpanByte, IFormatProvider)Parses a span of UTF-8 characters into a value.
Public methodStatic memberParse(ReadOnlySpanChar, IFormatProvider)Parses a span of characters into a value.
Public methodStatic memberParse(String, IFormatProvider)Parses a string into a value.
Public methodRead Reads the object from the specified reader.
Public methodSet(ReadOnlySpanByte) Sets the value of this Utf8String to the specified region of the specified byte array.
Public methodSet(ReadOnlySpanChar) Sets the value of this Utf8String to the specified span of characters.
Public methodSet(String) Sets the value of this Utf8String to the specified String.
Public methodSet(Utf8String) Sets the value of this Utf8String to the value of the specified Utf8String.
Public methodToString Gets a string representation of the current Utf8String.
(Overrides ObjectToString)
Public methodToString(String, IFormatProvider)Formats the value of the current instance using the specified format.
Public methodTryFormat(SpanByte, Int32, ReadOnlySpanChar, IFormatProvider)Tries to format the value of the current instance as UTF-8 into the provided span of bytes.
Public methodTryFormat(SpanChar, Int32, ReadOnlySpanChar, IFormatProvider)Tries to format the value of the current instance into the provided span of characters.
Public methodStatic memberTryParse(ReadOnlySpanByte, IFormatProvider, Utf8String)Tries to parse a span of UTF-8 characters into a value.
Public methodStatic memberTryParse(ReadOnlySpanChar, IFormatProvider, Utf8String)Tries to parse a span of characters into a value.
Public methodStatic memberTryParse(String, IFormatProvider, Utf8String)Tries to parse a string into a value.
Public methodWrite(BinaryWriter) Writes the object to the specified writer.
Public methodWrite(Stream) Writes this Utf8String to the specified stream.
Top
See Also