title: C - get chars from part of byte array
body: <p>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? </p>
  
  <p>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?</p>