just like SPI.write(const char *tx_buffer, int tx_length, char *rx_buffer, int rx_length) function.
if buff is defined as : uint8_t *buff, how to cast uint8_t * to char .
I find one solution like this:
char rx_buff = reinterpret_cast<char>(const_cast<uint8_t>(buff));
is there another better solution? thx.