public function __construct(BufferUnpacker $bufferUnpacker = null) { $this->bufferUnpacker = $bufferUnpacker ?: new BufferUnpacker(); }