int result = read(buffer, 0, 8);  if (result == -1) throw new EOFException();
readFullyPrivate(buffer, 0, 8);
  public long readLong()    throws IOException  {    int result = read(buffer, 0, 8);    if (result == -1)      throw new EOFException();        if (getByteOrder() == ByteOrder.LITTLE_ENDIAN)      {        return ((buffer[0] & 0xff)                + (((buffer[1] & 0xff)) << 8)                + (((buffer[2] & 0xff)) << 16)                + (((buffer[3] & 0xffL)) << 24)                + (((buffer[4] & 0xffL)) << 32)                + (((buffer[5] & 0xffL)) << 40)                + (((buffer[6] & 0xffL)) << 48)                + (((long) buffer[7]) << 56));      }    return ((((long) buffer[7]) << 56)            + ((buffer[6] & 0xffL) << 48)            + ((buffer[5] & 0xffL) << 40)            + ((buffer[4] & 0xffL) << 32)            + ((buffer[3] & 0xffL) << 24)            + ((buffer[2] & 0xff) << 16)            + ((buffer[1] & 0xff) << 8)            + (buffer[0] & 0xff));  }