static void writeLengthPrefixed(WriteBuffer buffer, String utf8) {
    writeInt(buffer, WriteBuffer.utf8SizeInBytes(utf8));
    buffer.writeUtf8(utf8);
  }
Encoding overhead is thrift type plus 32-bit length prefix
zipkin/src/main/java/zipkin2/internal/ThriftCodec.java