MCPcopy Create free account
hub / github.com/ThatOpen/engine_web-ifc / p21decode

Function p21decode

src/cpp/web-ifc/parsing/string_parsing.cpp:487–492  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

485
486
487 std::string p21decode(std::string_view & str) {
488 P21Decoder decoder(str);
489 if (decoder.GetError()) return {};
490 std::vector<char> results = decoder.GetResult();
491 return std::string(results.begin(),results.end());
492 }
493
494}

Callers 3

DecodeTextFunction · 0.85
TESTFunction · 0.85

Calls 1

GetErrorMethod · 0.80

Tested by 1

TESTFunction · 0.68