Git Product home page Git Product logo

Comments (1)

chifflier avatar chifflier commented on May 24, 2024

Hi,
It seems this bug was related to #3 since the sequence contains a list of big integers.
The fix in todays git should solve the problem, your program now displays:

rest:  []
next1: Some(DerObject { class: 0, structured: 0, tag: 2, content: Integer([0]) })
next2: Some(DerObject { class: 0, structured: 0, tag: 2, content: Integer([0, 216, 254, 163, 94, 36, 88, 185, 244, 2, 73, 84, 186, 170, 202, 166, 19, 86, 75, 64, 135, 31, 112, 147, 25, 142, 94, 106, 131, 230, 186, 84, 63, 108, 239, 92, 161, 210, 28, 110, 210, 140, 55, 23, 55, 59, 201, 232, 119, 126, 249, 254, 218, 197, 69, 190, 83, 37, 103, 170, 110, 209, 21, 68, 213, 6, 157, 226, 171, 231, 70, 209, 37, 117, 27, 144, 97, 202, 184, 67, 14, 131, 255, 116, 234, 189, 236, 141, 86, 195, 187, 53, 160, 37, 232, 75, 189, 203, 13, 215, 52, 103, 70, 237, 234, 149, 202, 186, 197, 82, 118, 23, 39, 67, 162, 165, 142, 139, 159, 44, 2, 179, 126, 70, 236, 64, 20, 174, 101, 190, 249, 209, 244, 2, 185, 221, 180, 74, 155, 242, 227, 235, 15, 179, 246, 19, 183, 248, 181, 78, 147, 101, 164, 41, 189, 153, 207, 203, 243, 213, 89, 71, 188, 147, 133, 94, 200, 75, 208, 1, 34, 13, 233, 20, 136, 143, 184, 4, 50, 85, 236, 201, 238, 35, 128, 92, 144, 153, 151, 47, 23, 183, 36, 163, 127, 219, 133, 100, 134, 233, 128, 248, 252, 185, 133, 200, 76, 117, 130, 52, 36, 234, 161, 7, 69, 121, 188, 143, 149, 181, 10, 244, 148, 27, 158, 56, 24, 25, 222, 47, 58, 22, 34, 143, 59, 186, 228, 0, 49, 121, 63, 101, 123, 96, 50, 113, 206, 122, 210, 206, 226, 80, 188, 67, 95, 85, 123]) })

Iterating on all objects shows a list of integers:

    for obj in der.1.ref_iter() {
        println!("obj: {:?}", obj);
    }

This program shows 9 objects.

Closing since it should be solved by 34e9e15

from der-parser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.