phasync
UnbufferedStream / getSize

Method

UnbufferedStream::getSize

Get the size of the stream if known.

Description#

public UnbufferedStream::getSize(): ?int

Return values#

Returns the size in bytes if known, or null if unknown. ?int