X-Git-Url: http://git.ithinksw.org/ITFoundation.git/blobdiff_plain/1d23d1181a753fffef7a9d28db4b0b0546bd0032..af1fcfcf8c78f03127d3929b49330cc191259487:/ITByteStream.h diff --git a/ITByteStream.h b/ITByteStream.h index 52f4856..a1053f3 100755 --- a/ITByteStream.h +++ b/ITByteStream.h @@ -10,7 +10,7 @@ @class ITByteStream; -@protocol ITByteStreamDelegate +@protocol ITByteStreamDelegate -(oneway void)newDataAdded:(ITByteStream *)sender; @end @@ -29,4 +29,7 @@ -(NSData*) readAllData; -(void) writeData:(in NSData*)data; -(void) writeBytes:(char *)b len:(long)length; +-(void) lockStream; +-(void) unlockStream; +-(void) shortenData:(long)length; @end