NSObject
|
+---MTStream
Class MTStream is an abstract class which defines the interface subclasses should implement.
close the stream and release any low level resources
is this stream still valid?
-(NSData*)readLength:(unsigned int)len
read data from the stream (max length)
-(NSData*)readLineLength:(unsigned int)len
read a line from the stream (max length)
-(NSString*)readStringLineLength:(unsigned int)len
read a line from the stream (max length)
-(void)writeCString:(const char*)string
writes C string to the stream
-(void)writeData:(NSData*)data
writes data to the stream
-(void)writeString:(NSString*)string
writes string to the stream