description | Adds utility functions to NSData, that help deal with null termination of C strings. |
owner | said@saidachmiz.net |
last change | Mon, 13 Dec 2021 23:15:47 +0000 (13 18:15 -0500) |
URL | git://repo.or.cz/SA_NSDataExtensions.git |
https://repo.or.cz/SA_NSDataExtensions.git | |
push URL | ssh://repo.or.cz/SA_NSDataExtensions.git |
https://repo.or.cz/SA_NSDataExtensions.git (learn more) | |
bundle info | SA_NSDataExtensions.git downloadable bundles |
content tags |
NSData+SA_NSDataExtensions
Adds utility functions to NSData, that help deal with null termination of C strings.
This category on NSData adds properties that allow you to get the null-terminated or non-null-terminated versions of byte arrays stored as NSData objects, and to easily check whether an NSData’s byte array is, or is not, null-terminated (that is, whether its last byte is a null).
Copyright 2015-2021 Said Achmiz.
2 years ago | master | logtree |