v2025.7.0
All Bundles

InputStream

An abstract input stream

Operations

Close

Closes the stream

method : public : virutal : Close() ~ Nil

ReadBuffer

Reads bytes into a byte buffer

method : public : virutal : 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

Reads bytes into a character buffer

method : public : virutal : 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

Reads a byte

method : public : virutal : ReadByte() ~ Byte

Return

TypeDescription
Bytebyte read

ReadLine

Reads a string until a newline or character return is detected

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

Return

TypeDescription
Stringcharacter string