An abstract output stream
Interface
OperationsCloses the stream
method : public : virutal : Close() ~ Nil
Writes bytes from a buffer
method : public : virutal : WriteBuffer(offset:Int, num:Int, buffer:Byte[]) ~ Int
Name | Type | Description |
---|---|---|
offset | Int | destination buffer offset |
num | Int | number of values to write |
buffer | Byte[] | input buffer |
Type | Description |
---|---|
Int | number of values written |
Writes characters from a buffer
method : public : virutal : WriteBuffer(offset:Int, num:Int, buffer:Char[]) ~ Int
Name | Type | Description |
---|---|---|
offset | Int | destination buffer offset |
num | Int | number of values to write |
buffer | Char[] | input buffer |
Type | Description |
---|---|
Int | number of values written |
Writes a byte
method : public : virutal : WriteByte(b:Int) ~ Bool
Name | Type | Description |
---|---|---|
b | Int | byte to write |
Type | Description |
---|---|
Bool | true if byte was written, false otherwise |
Writes a character string
method : public : virutal : WriteString(str:System.String) ~ Nil
Name | Type | Description |
---|---|---|
str | String | string to be written |