phasync
BufferedStream / getSize

Method

BufferedStream::getSize

Returns the size of the content, once end() has been called: it waits until then.

Description#

public BufferedStream::getSize(): ?int

Return values#

?int

Errors / Exceptions#

ExceptionWhen
TimeoutExceptionWhen end() is not called within $deadlockTimeout seconds