UI Tookit UI Tookit
UI Tookit UI Tookit
DocFX + Singulink = ♥

Search Results for

    Struct Base64Bytes

    Represents an immutable byte array parameter that is Base64-encoded for use in route paths and query strings.

    Implements
    IParsable<Base64Bytes>
    IEquatable<Base64Bytes>
    Namespace: Singulink.UI.Navigation
    Assembly: Singulink.UI.Navigation.dll
    Syntax
    public readonly struct Base64Bytes : IParsable<Base64Bytes>, IEquatable<Base64Bytes>

    Constructors

    Name Description
    Base64Bytes(ImmutableArray<byte>)

    Initializes a new instance of the Base64Bytes struct with the specified immutable array.

    Base64Bytes(ReadOnlySpan<byte>)

    Initializes a new instance of the Base64Bytes struct by copying the specified span.

    Properties

    Name Description
    Value

    Gets the immutable byte array value.

    Methods

    Name Description
    AsMemory()

    Returns the byte data as a ReadOnlyMemory<T>.

    AsSpan()

    Returns the byte data as a ReadOnlySpan<T>.

    Equals(Base64Bytes)

    Indicates whether the current object is equal to another object of the same type.

    Equals(object?)

    Indicates whether this instance and a specified object are equal.

    GetHashCode()

    Returns the hash code for this instance.

    Parse(string)

    Parses a Base64-encoded string into a Base64Bytes.

    ToArray()

    Returns a copy of the byte data as a new array.

    ToString()

    Returns the Base64-encoded string representation of the byte array.

    TryParse(string?, out Base64Bytes)

    Tries to parse a Base64-encoded string into a Base64Bytes.

    Operators

    Name Description
    operator ==(Base64Bytes, Base64Bytes)

    Determines whether two Base64Bytes instances are equal.

    implicit operator ImmutableArray<byte>(Base64Bytes)

    Converts a Base64Bytes to an ImmutableArray<T> without copying.

    implicit operator ReadOnlyMemory<byte>(Base64Bytes)

    Converts a Base64Bytes to a ReadOnlyMemory<T> without copying.

    implicit operator ReadOnlySpan<byte>(Base64Bytes)

    Converts a Base64Bytes to a ReadOnlySpan<T> without copying.

    implicit operator Base64Bytes(ImmutableArray<byte>)

    Converts an ImmutableArray<T> to a Base64Bytes without copying.

    operator !=(Base64Bytes, Base64Bytes)

    Determines whether two Base64Bytes instances are not equal.

    Explicit Interface Implementations

    Name Description
    IParsable<Base64Bytes>.Parse(string, IFormatProvider?)

    Parses a string into a value.

    IParsable<Base64Bytes>.TryParse(string?, IFormatProvider?, out Base64Bytes)

    Tries to parse a string into a value.

    © Singulink. All rights reserved.