开发者

How to create a Objective C class for Buffer

I am getting buffer with its length in a function

  • (void)putEncodedData:(void *)data ofSize:(unsigned)size

I want to create a custom class for this buffer data with name AudioData with variables data,size . How to set its @property attribues ? Please help me. Tha开发者_StackOverflow中文版nks in advance


I wouldn't bother. You can encode a collection of bytes with its size in an NSData already; use that.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜