clear method

void clear()

Clear all registered codecs (mainly for testing)

Removes all registered codecs from the registry. This is primarily useful for unit testing to ensure a clean state.

Implementation

void clear() {
  _graphCodecs.clear();
  _graphCodecsByMimeType.clear();
}