v2026.5.3
All Bundles
Bundle File and console I/O primitives. FileReader and FileWriter handle sequential file access; Console provides stdin/stdout operations. Included in lang.obl — no extra -lib flag needed.

InputStream

An abstract input stream

Operations

Close # virtual

Closes the stream

method : public : virtual : Close() ~ Nil

ReadBuffer # virtual

Reads bytes into a byte buffer

method : public : virtual : ReadBuffer(offset:Int, num:Int, buffer:Byte[]) ~ Int

Parameters

NameTypeDescription
offsetIntdestination buffer offset
numIntnumber of values to read
bufferByteinput buffer

Return

TypeDescription
Intnumber of values read

ReadBuffer # virtual

Reads bytes into a character buffer

method : public : virtual : ReadBuffer(offset:Int, num:Int, buffer:Char[]) ~ Int

Parameters

NameTypeDescription
offsetIntdestination buffer offset
numIntnumber of values to read
bufferCharinput buffer

Return

TypeDescription
Intnumber of values read

ReadByte # virtual

Reads a byte

method : public : virtual : ReadByte() ~ Byte

Return

TypeDescription
Bytebyte read

ReadLine # virtual

Reads a string until a newline or character return is detected

method : public : virtual : ReadLine() ~ System.String

Return

TypeDescription
Stringcharacter string