00001
00002
00003
00004
00005
00006
00007
00008
00009 #import <Foundation/Foundation.h>
00010
00011 @interface INFSendBuffer : NSMutableData {
00012 @private
00013 NSMutableData *embeddedData;
00014 NSInteger sendPos;
00015 }
00016
00017 @property (readonly) NSInteger sendPos;
00018
00019 + (id)dataWithNSData:(NSData *)newdata;
00020
00021 - (id)initWithData:(NSData *)newdata;
00022 - (void)consumeData:(NSInteger)length;
00023
00024 - (const void *)bytes;
00025 - (NSUInteger)length;
00026
00027 - (void *)mutableBytes;
00028 - (void)setLength:(NSUInteger)length;
00029
00030 @end