MCPcopy Create free account
hub / github.com/christophhart/HISE / fromBase64

Method fromBase64

hi_scripting/scripting/api/ScriptModulationMatrix.cpp:464–475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462}
463
464void ScriptModulationMatrix::fromBase64(String b64)
465{
466 zstd::ZDefaultCompressor comp;
467
468 MemoryBlock mb;
469 mb.fromBase64Encoding(b64);
470
471 ValueTree v;
472 comp.expand(mb, v);
473
474 restoreFromValueTree(v);
475}
476
477void ScriptModulationMatrix::clearAllConnections()
478{

Callers 1

undoMethod · 0.45

Calls 3

fromBase64EncodingMethod · 0.80
restoreFromValueTreeFunction · 0.50
expandMethod · 0.45

Tested by

no test coverage detected