Example #1
0
 public static int compare(
     @NotNull final Buffer left,
     final long leftFrom,
     final long leftLength,
     @NotNull final Buffer right) {
   return compare(left, leftFrom, leftLength, right, right.position(), right.remaining());
 }
Example #2
0
 public static int compare(@NotNull final Buffer left, @NotNull final Buffer right) {
   return compare(
       left, left.position(), left.remaining(), right, right.position(), right.remaining());
 }