All Bundles

InputStream

An abstract input stream

Interface

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
bufferByte[]input buffer

Return
TypeDescription
Intnumber of values read

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
bufferChar[]input 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