public void writeRaw(byte[] bytes, int offset, int length) throws IOException {
    out.write(bytes, offset, length);
  }
Writes a raw sequence of typed bytes.

@param bytes
         the bytes to be written
@param offset
         an offset in the given array
@param length
         number of bytes from the given array to write
@throws IOException
contrib/src/java/org/apache/hadoop/hive/contrib/util/typedbytes/TypedBytesOutput.java