func GetCodec(data []byte) (uint64, error) {
	id, _ := binary.Uvarint(data)
	if id == 0 {
		return 0, fmt.Errorf("failed to find codec prefix to remove")
	}
	return id, nil
}
// GetCodec returns the ID of the codec prefix from a byte array
GetCodec returns the ID of the codec prefix from a byte array
// GetCodec returns the ID of the codec prefix from a byte array
func GetCodec(data []byte) (uint64, error) {
	id, _ := binary.Uvarint(data)
	if id == 0 {
		return 0, fmt.Errorf("failed to find codec prefix to remove")
	}
	return id, nil
}
func GetCodec ( data [ ] byte ) ( uint64 , error ) { id , _ := binary . Uvarint ( data ) if id == 0 { return 0 , fmt . Errorf ( " " ) } return id , nil }
GetCodec returns the ID of the codec prefix from a byte array
GetCodec returns the ID of the codec prefix from a byte array