public function appendArray(array $value, Buffer $originalBuffer)
    {
        $buffer = new Buffer();

        foreach ($value as $v) {
            $this->appendFieldValue($v, $buffer);
        }

        $originalBuffer->appendUint32($buffer->getLength());
        $originalBuffer->append($buffer);
    }