private void setDataOutput(DataOutput out) {
    this.out = out;
  }
Provides functionality for writing typed bytes.
contrib/src/java/org/apache/hadoop/hive/contrib/util/typedbytes/TypedBytesOutput.java