HAL is a layer of abstraction which is not available for the STM8. So sending a memory block via I2C has to be done manually there, for which you can use the SPL: I2C_Send7bitAddress(), I2C_SendData() etc.
Good luck!
Regards
/Peter
In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.