func RemoveCodec(data []byte) ([]byte, uint64, error) {
	id, size := binary.Uvarint(data)
	if id == 0 {
		return nil, 0, fmt.Errorf("failed to find codec prefix to remove")
	}
	return data[size:], id, nil
}
// RemoveCodec removes a codec prefix from a byte array.
// It returns a slice of the input byte array without the codec prefix, along with the ID of the codec that has been removed.
RemoveCodec removes a codec prefix from a byte array.
It returns a slice of the input byte array without the codec prefix, along with the ID of the codec that has been removed.
// RemoveCodec removes a codec prefix from a byte array . // It returns a slice of the input byte array without the codec prefix along with the ID of the codec that has been removed .
func RemoveCodec(data []byte) ([]byte, uint64, error) {
	id, size := binary.Uvarint(data)
	if id == 0 {
		return nil, 0, fmt.Errorf("failed to find codec prefix to remove")
	}
	return data[size:], id, nil
}
func RemoveCodec ( data [ ] byte ) ( [ ] byte , uint64 , error ) { id , size := binary . Uvarint ( data ) if id == 0 { return nil , 0 , fmt . Errorf ( " " ) } return data [ size : ] , id , nil }
RemoveCodec removes a codec prefix from a byte array.
RemoveCodec removes a codec prefix from a byte array .