private static function decodeSequence($additional, &$bytes)
    {
        $length = self::decodeIntValue($additional, $bytes);

        $sequence = array();
        for ($i = 0; $i < $length; $i++)
        {
            array_push($sequence, self::recursiveDecode($bytes));
        }

        return $sequence;
    }
private static function decodeSequence($additional, &$bytes)
    {
        $length = self::decodeIntValue($additional, $bytes);

        $sequence = array();
        for ($i = 0; $i < $length; $i++)
        {
            array_push($sequence, self::recursiveDecode($bytes));
        }

        return $sequence;
    }
private static function decodeSequence ( $ additional , & $ bytes ) { $ length = self :: decodeIntValue ( $ additional , $ bytes ) ; $ sequence = array ( ) ; for ( $ i = 0 ; $ i < $ length ; $ i ++ ) { array_push ( $ sequence , self :: recursiveDecode ( $ bytes ) ) ; } return $ sequence ; }
Decodes a CBOR sequence, based on the first byte and additional data.

@param int $additional Additional type.
@param array $bytes Remaining bytes in string.
@throws CborException If the byte array is not long enough for the specified type of integer.
@return array List of decoded  values.
Decodes a CBOR sequence based on the first byte and additional data .