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