The containing class is available as IO\MemoryHandle in the www repository.
IO\MemoryHandle
Append data to the internal buffer, preserving position
public function appendToBuffer( string $data, ): void;
string $data
void