An abstract input stream
Interface
OperationsCloses the stream
method : public : virutal : Close() ~ Nil
Reads bytes into a byte buffer
method : public : virutal : ReadBuffer(offset:Int, num:Int, buffer:Byte[]) ~ Int
Name | Type | Description |
---|---|---|
offset | Int | destination buffer offset |
num | Int | number of values to read |
buffer | Byte[] | input buffer |
Type | Description |
---|---|
Int | number of values read |
Reads bytes into a character buffer
method : public : virutal : ReadBuffer(offset:Int, num:Int, buffer:Char[]) ~ Int
Name | Type | Description |
---|---|---|
offset | Int | destination buffer offset |
num | Int | number of values to read |
buffer | Char[] | input buffer |
Type | Description |
---|---|
Int | number of values read |
Reads a byte
method : public : virutal : ReadByte() ~ Byte
Type | Description |
---|---|
Byte | byte read |
Reads a string until a newline or character return is detected
method : public : virutal : ReadLine() ~ System.String
Type | Description |
---|---|
String | character string |