comp • gb • stream

Stream (gb)

This class is the parent class of every Gambas object that is a stream.

These objects can be used with all the input/output Gambas functions: PRINT, INPUT, LINE INPUT, CLOSE, and so on.

This class is not creatable.

Properties

Methods
Returns or sets if the stream is blocking.
Blocking  
Returns or sets the byte order used to read or write binary data to the stream.
ByteOrder  
This property signals whether the last use of LINE INPUT reached the end of file, instead of reading a full line with an end-of-line character.
EndOfFile  
Returns or sets the newline separator used by this stream.
EndOfLine  
Returns the system file descriptor associated with this Stream.
Handle  
Return if a stream is associated with a terminal.
IsTerm  
Returns a virtual object that allows you to enumerate a stream line by line.
Lines  
Returns or sets the tag associated with the stream.
Tag  
Return a virtual object that allows to manage the terminal associated with the stream.
Term  
Start to buffer data written to the stream, so that everything will be sent when the Send method is called.
Begin  
Closes the stream.
Close  
Drop the data that has been buffered since the last call to the Begin method.
Drop  
Read a line of text from the stream, like the LINE INPUT instruction.
ReadLine  
Send all the data, in one shot, since the last call to Begin.
Send  
Start or stop watching the stream file descriptor for reading or writing, after it has been opened.
Watch  

Here is a list of classes that inherit Stream at the moment:

See also