flush
Description:
Flushes any buffered data to the stream's backing store.
Only meaningful for writable streams.
Parameters:
| this | 
           a Stream object  | 
      
| cancellable | 
           optional Cancellable object, or null  | 
      
Returns:
| 
           0 on success or -1 on fail along with setting throws  |