private byte[] readWord(int sizeHint) throws IOException {
    ByteArrayOutputStream out = new ByteArrayOutputStream(sizeHint);
    readWord(out);

    return out.toByteArray();
  }
Read a word (until next ASCII space or EOF) as a byte array.

@param sizeHint an guess on how large string will be, in bytes.
@return a valid, but perhaps empty, word.
ql/src/java/org/apache/hadoop/hive/ql/log/syslog/SyslogParser.java