code: func LoadCodec(name string) Codec {
  	c, ok := allCodecs[name]
  	if !ok {
  		fmt.Println("Unknown codec:", name)
  		fmt.Println("Available codecs:", allCodecs)
  		assert(ok)
  	}
  	return c
  }
docs: // looks up a codec by name