uint32_t CompactProtocolWriter::writeStructBegin(const char* /* name */) {
  lastField_.push(lastFieldId_);
  lastFieldId_ = 0;
  return 0;
}
uint32_t CompactProtocolWriter::writeStructBegin(const char*  ) {
  lastField_.push(lastFieldId_);
  lastFieldId_ = 0;
  return 0;
}