How can I get char array or char pointer from part of byte array? Let´s say I have variable-size string in byte array which begins at 18 bytes and ends 4 bytes from end of array. How can I get this?
Edit:
And what about dot? I should have dots in that byte array but when I copied by memcpy I get string without dots. How can I fix this?
To extract a part of an array, you can use
memcpy.