Skip to content

__OutputStream__

Hyomoto edited this page Jun 13, 2021 · 3 revisions
Jump To Go Back Methods Variables

OutputStream( )

Implements: Struct

An output stream provides a generic wrapper for functions that can write to files, the network, the output console, etc... A function that wants to write to an output stream should only have to call write and/or close to complete its operation. The actual stream may contain main more methods or values as needed, but they must implement these two methods to ensure a consistent point of access for write operations.

Methods

Jump To top open write close buffer

open( )

Name Type Purpose
None

Opens the stream


write( )

Name Type Purpose
None

Writes a chunk of data to the stream


close( )

Name Type Purpose
None

Closes the stream


buffer( )

Name Type Purpose
None

Returns the last chunk of data written to the stream


Variables

Jump To top
Name Type Initial Purpose
__Buffer string undefined The last thing written to the stream
Clone this wiki locally