Skip to content

Instantly share code, notes, and snippets.

@kakopappa
Created March 4, 2017 03:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kakopappa/7066cca93569f6e90f7feb0a13236dda to your computer and use it in GitHub Desktop.
Save kakopappa/7066cca93569f6e90f7feb0a13236dda to your computer and use it in GitHub Desktop.
String to uint8_t pointer
(uint8_t *)content.c_str()
char buf[chunkSize];
file.read((uint8_t *)buf, chunkSize-1);
String(buf);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment