public void writeByte(byte b) throws IOException {
    out.write(Type.BYTE.code);
    out.write(b);
  }
Writes a byte as a typed bytes sequence.

@param b
         the byte to be written
@throws IOException
contrib/src/java/org/apache/hadoop/hive/contrib/util/typedbytes/TypedBytesOutput.java