I
I
IlyaMordasov2015-11-10 10:53:43
C++ / C#
IlyaMordasov, 2015-11-10 10:53:43

How to convert uint8_t to char?

there are two variables

uint8_t buf[100] // здесь массив данных
char *str // сюда необходимо перевести тип uint8_t

how to turn buf into str?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AtomKrieg, 2015-11-10
@IlyaMordasov

str = (char*)buf;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question