X-Git-Url: http://git.ithinksw.org/ITFoundation.git/blobdiff_plain/1ea39b0f18a93a1622b987e11b502b3b4ac2f821..c1dc61cc189c0eb83fe8027c70949b9c4dcdbd24:/ITByteStream.h diff --git a/ITByteStream.h b/ITByteStream.h new file mode 100755 index 0000000..265b7a6 --- /dev/null +++ b/ITByteStream.h @@ -0,0 +1,22 @@ +// +// ITByteStream.h +// ITFoundation +// +// Created by Alexander Strange on Thu Feb 27 2003. +// Copyright (c) 2003 __MyCompanyName__. All rights reserved. +// + +#import + +/*! @class ITByteStream + * @abstract A FIFO bytestream + */ + +@interface ITByteStream : NSObject { + NSMutableData *data; +} +-(id) initWithStream:(ITByteStream*)stream; +-(int) availableDataLength; +-(NSData*) readDataOfLength:(int)length; +-(void) writeData:(NSData*)data; +@end