GetCodecV2 gets a registered CodecV2 by content-subtype, or nil if no CodecV2 is registered for the content-subtype. The content-subtype is expected to be lowercase.
(contentSubtype string)
| 76 | // |
| 77 | // The content-subtype is expected to be lowercase. |
| 78 | func GetCodecV2(contentSubtype string) CodecV2 { |
| 79 | c, _ := registeredCodecs[contentSubtype].(CodecV2) |
| 80 | return c |
| 81 | } |
no outgoing calls