@Override
  public final void readFully(byte[] buffer) throws IOException {
    readFully(buffer, 0, buffer.length);
  }
Reads bytes from this stream into the byte array <code>buffer</code>. This
method will block until <code>buffer.length</code> number of bytes have
been read.

@param buffer
         to read bytes into

@throws IOException
          If a problem occurs reading from this DataInputStream.
ql/src/java/org/apache/hadoop/hive/ql/io/NonSyncDataInputBuffer.java