Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
码...
我想向 NSData 写入一个字节 (1)。这似乎很简单,但我无法找到正确的链接如何做到这一点。我尝试使用无符号字符来做到这一点。但这存储了十六进制值。
您不能添加字节以NSData使用NSMutableDataappendBytes:bytes length: 方法
NSData
NSMutableData