Adds utility functions to NSData, that help deal with null termination of C strings.
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
achmizs 76fe55b89c Updated info in code files před 4 roky
.gitignore Create .gitignore před 9 roky
LICENSE Added LICENSE před 4 roky
NSData+SA_NSDataExtensions.h Updated info in code files před 4 roky
NSData+SA_NSDataExtensions.m Updated info in code files před 4 roky
README.md Updated README.md před 4 roky

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.