Created
March 18, 2015 13:13
-
-
Save perillamint/a8eb5f8a8061939dc02f to your computer and use it in GitHub Desktop.
charwithlen
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//I will not use NULL terminated string for performance. | |
typedef struct charwithlen_struct { | |
char *data; | |
size_t len; | |
} charwithlen_t; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment