phasync
UnbufferedStream / getContents

Method

UnbufferedStream::getContents

Returns the remaining contents in a string

Description#

public UnbufferedStream::getContents(): string

Return values#

string

Errors / Exceptions#

ExceptionWhen
RuntimeExceptionIf unable to read or an error occurs while reading.