code: @Override
    public int getMediumInt() {
      byte b1 = get();
      byte b2 = get();
      byte b3 = get();
      if (ByteOrder.BIG_ENDIAN.equals(order())) {
        return getMediumInt(b1, b2, b3);
      } else {
        return getMediumInt(b3, b2, b1);
      }
    }
docs: {@inheritDoc}