binary(Node yes) | Control if this stream should read/write in binary or character mode. |
|
binary() | Determine whether this stream reads/writes in binary or character mode. |
|
encoding(Node type) | Set the character encoding this stream should use to read/write in character mode. |
|
encoding() | Get the character encoding this Stream should use when reading/writing in character mode. |
|
|
read() | Read the entire content of this stream. | Same as: read(0) |
|
read(Number limit) | Read a maximum of limit bytes or characters (depending on whether the stream is in binary or character mode) from this stream. | Parameter limit: The maximum number of bytes or characters, or 0 for unlimited. |
|
|
|
|
write(String data, Number limit) | Write a maximum of limit bytes or characters from the stream. |
|