WordPress\AiClientDependencies\Psr\Http\Message

StreamInterface::getSizepublicWP 1.0

Get the size of the stream if known.

Method of the class: StreamInterface{}

No Hooks.

Returns

Int|null. Returns the size in bytes if known, or null if unknown.

Usage

$StreamInterface = new StreamInterface();
$StreamInterface->getSize(): ?int;

StreamInterface::getSize() code WP 7.0

public function getSize(): ?int;