public void writeBinary(byte[] bin, int offset, int length)
  throws TException {
    if (bin == null) {
      writeRawBytes(nullByte, 0, 1);
    } else {
      writeI32(length);
      writeRawBytes(bin, offset, length);
    }
  }
The escaped byte sequence for the "\1" byte. This cannot be changed alone
without changing the readString() code.
serde/src/java/org/apache/hadoop/hive/serde2/thrift/TBinarySortableProtocol.java