MCPcopy Create free account
hub / github.com/DFHack/dfhack / PrintUnknownFieldsToString

Method PrintUnknownFieldsToString

depends/protobuf/google/protobuf/text_format.cc:910–918  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

908}
909
910bool TextFormat::Printer::PrintUnknownFieldsToString(
911 const UnknownFieldSet& unknown_fields,
912 string* output) const {
913 GOOGLE_DCHECK(output) << "output specified is NULL";
914
915 output->clear();
916 io::StringOutputStream output_stream(output);
917 return PrintUnknownFields(unknown_fields, &output_stream);
918}
919
920bool TextFormat::Printer::Print(const Message& message,
921 io::ZeroCopyOutputStream* output) const {

Callers

nothing calls this directly

Calls 2

PrinterClass · 0.50
clearMethod · 0.45

Tested by

no test coverage detected