descriptionAdds utility functions to NSData, that help deal with null termination of C strings.
ownersaid@saidachmiz.net
last changeMon, 13 Dec 2021 23:15:47 +0000 (13 18:15 -0500)
content tags
add:
README.md

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.

shortlog
2021-12-13 Said AchmizAdd range-related utility properties/methodsmaster
2021-12-05 achmizsRename some methods; remove extraneous others
2021-12-04 achmizsUpdated info in code files
2021-12-04 achmizsAdded LICENSE
2021-12-04 achmizsUpdated README.md
2021-12-04 achmizsAdded +[dataFromCString:] and +[dataFromCString:];...
2016-04-04 achmizsCreate .gitignore
2015-12-25 achmizsAdd factory method that returns data with blank C string
2015-12-22 achmizsImprove code readability a bit
2015-12-22 achmizsFix typo in comment
2015-12-22 achmizsUpdate README.md
2015-12-22 achmizsUpdate README.md
2015-12-22 achmizsCreate README.md
2015-12-22 achmizsInitial commit
heads
2 years ago master