int result = read(buffer.getData(), buffer.getOffset(), len);  if (result == -1 || result < len) throw new EOFException();
readFullyPrivate(buffer.getData(), buffer.getOffset(), len);
  public void readBytes(IIOByteBuffer buffer, int len)    throws IOException  {    int result = read(buffer.getData(), buffer.getOffset(), len);        if (result == -1 || result < len)      throw new EOFException();    buffer.setLength(len);  }