HH\Lib\IO\MemoryHandle::__construct

Facebook Engineer?

The containing class is available as IO\MemoryHandle in the www repository.

public function __construct(
  string $buffer = '',
  HH\Lib\IO\MemoryHandleWriteMode $writeMode = MemoryHandleWriteMode::OVERWRITE,
);

Parameters

  • string $buffer = ''
  • HH\Lib\IO\MemoryHandleWriteMode $writeMode = MemoryHandleWriteMode::OVERWRITE