(class)
hidden abstract shared PeekableInputStream-of
This item is unsupported and reserved for internal use.
| end-of-stream?: | Returns true if the next call to self.read-one will return a true eof? return value. |
accessor public PeekableInputStream-of.end-of-stream?:
bool
| peek-one: | Returns the next item on self's input stream without removing it from the stream. |
|
public abstract
| {PeekableInputStream-of.peek-one}:(val:t, eof?:bool) |
| peek-one-any: | Returns the next item on self's input stream without removing it from the stream. |
|
public
| {PeekableInputStream-of.peek-one-any}:(val:any, eof?:bool) |
(accessor)
accessor public PeekableInputStream-of.end-of-stream?:
bool Returns true if the next call to self.read-one will return a true eof? return value.
Notes
This method may block -- uses self.peek-one to access the next object in the stream.
(method)
| public abstract
| {PeekableInputStream-of.peek-one}:(val:t, eof?:bool) |
Returns the next item on self's input stream without removing it from the stream.
Returns
The first return value is the next item on self's input stream. The second return value is true iff self.end-of-stream? is true; in that case, the first value returned is null / 0 as appropriate.
Description
This method will block when self is still open but has no data available.
Notes
Error if self is not currently open and readable.
(method)
| public
| {PeekableInputStream-of.peek-one-any}:(val:any, eof?:bool) |
Returns the next item on self's input stream without removing it from the stream.
Returns
The first return value is the next item on self's input stream. The second return value is true iff self.end-of-stream? is true; in that case, the first value returned is null / 0 as appropriate.
Description
This method will block when self is still open but has no data available.
Notes
Error if self is not currently open and readable.