uint32_t CompactProtocolWriter::serializedMessageSize(
    const std::string& name) const {
  // I32{version} + String{name} + I32{seqid}
  return 2 * serializedSizeI32() + serializedSizeString(name);
}
uint32_t CompactProtocolWriter::serializedMessageSize(
    const std::string& name) const {
   
  return 2 * serializedSizeI32() + serializedSizeString(name);
}