func MustID(name string) uint64 {
	codec, exists := codecs[name]
	if !exists {
		panic(fmt.Errorf("unknown name %s", name))
	}
	return codec.id
}
// MustID obtains the ID of a codec from its name, panicking if not present.
MustID obtains the ID of a codec from its name, panicking if not present.
// MustID obtains the ID of a codec from its name panicking if not present .
func MustID(name string) uint64 {
	codec, exists := codecs[name]
	if !exists {
		panic(fmt.Errorf("unknown name %s", name))
	}
	return codec.id
}
func MustID ( name string ) uint64 { codec , exists := codecs [ name ] if ! exists { panic ( fmt . Errorf ( " " , name ) ) } return codec . id }
MustID obtains the ID of a codec from its name, panicking if not present.
MustID obtains the ID of a codec from its name panicking if not present .