code: public final boolean strEquals(byte[] a, int aOff, int aLen) {
          if (aLen != len) {
              return false;
          }
          for (int i = 0; i < len; ++i) {
              if (a[aOff + i] != fb[off + i]) {
                  return false;
              }
          }
          return true;
      }
docs: Checks if the slice is equal to a portion of a given byte array.
  
  @param a The array to compare with.
  @param aOff The offset to compare with in the array.
  @param aLen The length to compare with.
  @return True if equal.