func codec() *mux.Multicodec { m := mux.StandardMux() m.Wrap = Flags.MCWrap return m }
func codecWithPath(path string) mc.Multicodec { hdr := mc.Header([]byte(path)) codec := mux.CodecWithHeader(hdr, mux.StandardMux().Codecs) return codec }