Adds utility functions to NSData, that help deal with null termination of C strings.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
achmizs cb674c9ac3 Rename some methods; remove extraneous others pirms 4 gadiem
.gitignore Create .gitignore pirms 9 gadiem
LICENSE Added LICENSE pirms 4 gadiem
NSData+SA_NSDataExtensions.h Rename some methods; remove extraneous others pirms 4 gadiem
NSData+SA_NSDataExtensions.m Rename some methods; remove extraneous others pirms 4 gadiem
README.md Updated README.md pirms 4 gadiem

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.