Adds utility functions to NSData, that help deal with null termination of C strings.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
achmizs 375120991a Update README.md 10 anos atrás
NSData+SA_NSDataExtensions.h Initial commit 10 anos atrás
NSData+SA_NSDataExtensions.m Initial commit 10 anos atrás
README.md Update README.md 10 anos atrás

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 Said Achmiz