Adds utility functions to NSData, that help deal with null termination of C strings.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
achmizs 9e2f13715c Create README.md vor 10 Jahren
NSData+SA_NSDataExtensions.h Initial commit vor 10 Jahren
NSData+SA_NSDataExtensions.m Initial commit vor 10 Jahren
README.md Create README.md vor 10 Jahren

README.md

SA_NSDataExtensions Copyright © 2015 Said Achmiz

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).