uint32_t BinaryProtocolWriter::writeBool(bool value) {
  uint8_t tmp = value ? 1 : 0;
  out_.write(tmp);
  return sizeof(value);
}
uint32_t BinaryProtocolWriter::writeBool(bool value) {
  uint8_t tmp = value ? 1 : 0;
  out_.write(tmp);
  return sizeof(value);
}