public void internalWriteString(String str) throws TException {
    if (str != null) {
      tmpText.set(str);
      trans_.write(tmpText.getBytes(), 0, tmpText.getLength());
    } else {
      trans_.write(nullText.getBytes(), 0, nullText.getLength());
    }
  }
Initialize the TProtocol.

@param conf
         System properties
@param tbl
         table properties
@throws TException
serde/src/java/org/apache/hadoop/hive/serde2/thrift/TCTLSeparatedProtocol.java