new ReadableString(buffer)
Wraps a string inside a readable stream
Parameters:
Name | Type | Description |
---|---|---|
buffer |
String | String buffer |
- Since:
-
- 0.1.9
- Implements:
Methods
-
read(output)
-
Read all data from the underlying source. Chunk of data is passed to the gpf.interfaces.IWritableStream.
Parameters:
Name Type Description output
gpf.interfaces.IWritableStream Stream that receives chunk of data
- Since:
-
- 0.1.9
- Implements:
Returns:
Resolved when the stream has ended
- Type
- Promise