Skip to content

OutputStream


struct OutputStream

Output stream.

Member Variables

Name Description
file:File? File handle.

Member Functions

Name Description
open Open file.
open Open file with default mode.
close Close file.
flush Flush.
print Print string.
print Print value.
print Print value.
print Print value.
print Print vector.
print Print vector.
print Print vector.
print Print matrix.
print Print matrix.
print Print matrix.

Member Function Details

close

function close()

Close file.

flush

function flush()

Flush.

open

function open(path:String, mode:Integer)

Open file.

  • path: Path.
  • mode: Mode.

function open(path:String)

Open file with default mode.

  • path: Path.

print

function print(value:String)

Print string.

function print(value:Boolean)

Print value.

function print(value:Integer)

Print value.

function print(value:Real)

Print value.

function print(value:Boolean[_])

Print vector.

function print(value:Integer[_])

Print vector.

function print(value:Real[_])

Print vector.

function print(value:Boolean[_,_])

Print matrix.

function print(value:Integer[_,_])

Print matrix.

function print(value:Real[_,_])

Print matrix.