Search Results for

    Show / Hide Table of Contents

    Class ByteArrayComparerDescending

    Inheritance
    object
    ByteArrayComparerDescending
    Implements
    IRefComparer<Memory<byte>>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Tenray.ZoneTree.Comparers
    Assembly: ZoneTree.dll
    Syntax
    public sealed class ByteArrayComparerDescending : IRefComparer<Memory<byte>>

    Methods

    | Improve this Doc View Source

    Compare(in Memory<byte>, in Memory<byte>)

    Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.

    Declaration
    public int Compare(in Memory<byte> x, in Memory<byte> y)
    Parameters
    Type Name Description
    Memory<byte> x

    The first key

    Memory<byte> y

    The second key

    Returns
    Type Description
    int

    -1 (x < y), 0 (x == y) or 1 (x > y)

    Implements

    IRefComparer<TKey>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2022 Tenray.io