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