registerCodec method
Registers a binary codec with this registry.
Makes the codec available for all its supportedMimeTypes.
Implementation
void registerCodec(RdfBinaryCodec<G> codec) {
_logger.fine(
'Registering binary rdf codec: ${codec.primaryMimeType} for $this');
_codecs.add(codec);
for (final mimeType in codec.supportedMimeTypes) {
final normalized = _normalizeMimeType(mimeType);
_codecsByMimeType[normalized] = codec;
}
}