[](https://travis-ci.org/Billy Lee/ios-byteBuffer)
#allocation
ByteBuffer *buffer = [ByteBuffer initWithOrder:ByteOrderLittleEndian];#input data
- (void)put:(Byte)b;
- (void)putByteBuffer:(ByteBuffer*)bb;
- (void)putData:(NSData*)data;
- (void)putShort:(short)d;
- (void)putFloat:(float)f;
- (void)putInt:(int)i;#output
- (Byte)get:(int)index;
- (float)getFloat:(int)index;
- (int)getInt:(int)index;
- (NSData*)convertNSData;iOS platform, objective-c
ios-byteBuffer is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "ios-byteBuffer"Billy Lee, [email protected]
ios-byteBuffer is available under the MIT license. See the LICENSE file for more info.