Tie ties the line buffered stream in to the stream out , i.e. read operations on in cause out to be flushed. Bidirectional line buffered streams are always tied to themselves, so Tie must not be called if in is equal to out . Streams may be untied by calling Tie with out set to NIL . GetBufferPoolSize and SetBufferPoolSize return and set the number of buffers. The number of buffers may only be modified if bufpool has been taken as buffering mode.
Capabilities returns the capabilities of the given stream.
This event type is suitable for bidirectional streams and allows to empty the input queue before the output queue gets flushed. GetCloseEvent returns like GetFlushEvent an event type which will be raised before the stream is shut by the close operation. This event type allows some final operations to be called. Close closes s . These streams are therefore not subject to the garbage collection as long as Close has not been called for them.