HH\Lib\IO\MemoryHandle

Facebook Engineer?

This is available as IO\MemoryHandle in the www repository.

Read from/write to an in-memory buffer

This class is intended for use in unit tests.

Interface Synopsis

namespace HH\Lib\IO;

final class MemoryHandle implements CloseableSeekableReadWriteHandle {...}

Public Methods

Public Methods (HH\Lib\IO\WriteHandle)

Public Methods (HH\Lib\IO\ReadHandle)

Protected Methods