Akka.IO.ByteString.Compare C# (CSharp) Method

Compare() private static method

private static Compare ( ByteString b1, ByteString b2 ) : int
b1 ByteString
b2 ByteString
return int
        private static int Compare(ByteString b1, ByteString b2)
        {
            if (b1.IsEmpty)
                return b2.IsEmpty ? 0 : 2;
            return b2.IsEmpty ? 1 : 3;
        }