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

    [TITLE]
    IO Stream Methods

    [DESCRIPTION]

       1  stream( )=>stream
       2  stream( type :enum<mbs, wcs> )=>stream
       3  stream( file :string, mode :string )=>stream
       4  write( self :stream, ... )
       5  writef( self :stream, format : string, ... )
       6  writeln( self :stream, ... )
       7  flush( self :stream )
       8  read( self :stream, count=0 )=>string
       9  read( self :stream, quantity :enum<line, all> )=>string
      10  getstring( self :stream )=>string
      11  close( self :stream )
      12  eof( self :stream )=>int
      13  isopen( self :stream )=>int
      14  seek( self :stream, pos :int, from :enum<begin,current,end> )=>int
      15  tell( self :stream )=>int
      16  fileno( self :stream )=>int
      17  name( self :stream )=>string
      18  mode( self :stream )=>enum<read; write>
      19  __for_iterator__( self :stream, iter : for_iterator )
      20  []( self :stream, iter : for_iterator )=>string
      21
      22  readlines( self :stream, numline=0, chop=0 )[line:string=>none|@T]=>list<@T>
      23  // Not particularly useful, may be removed!
      24  writelines( self :stream, lines :int)[line:int =>string]
      25  writelines( file :string, lines :int)[line:int =>string]