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