[NAME]
ALL.dao.module.io.stream.method

[TITLE]
IO Stream Methods

[DESCRIPTION]


     
   1  stream( type: enum<string,tmpfile> = $string )=>stream
   2  stream( file: string, mode: string )=>stream
   3  stream( fileno: int, mode: string )=>stream
   4  write( self: stream, invar ... : any )
   5  writef( self: stream, format: string, invar ... : any )
   6  writeln( self: stream, invar ... : any )
   7  read( self: stream, amount: int|enum<line,all> = $all )=>string
   8  readlines( self: stream, numline=0, chop=0 )[line: string=>none|@T]=>list<@T>
   9  
  10  flush( self: stream )
  11  close( self: stream )
  12  seek( self: stream, pos: int, from: enum<begin,current,end> )=>int
  13  tell( self: stream )=>int
  14  fileno( self: stream )=>int
  15  enable( self: stream, what: enum<auto_conversion>, state: bool )
  16  check( self: stream, what: enum<readable,writable,is_open,is_eof,auto_conversion> ) => bool