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.
精彩评论