I am trying to find any equivalent class or library for the "Buffer" object in Objective C. Here is the documentation of the "Buffer" class in Java: http://docs.oracle.com/javase/1.4.2/docs/api/java/nio/Buffer.html I need it in objective-C. Thank you.
Look at NSMutableData or NSData.
NSData and its mutable subclass NSMutableData provide data objects, object-oriented wrappers for byte buffers. Data objects let simple allocated buffers (that is, data with no embedded pointers) take on the behavior of Foundation objects.
Look at NSMutableData
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With