juherr / jasn1 Goto Github PK
View Code? Open in Web Editor NEWFork of: jASN1 is an LGPL licensed Java ASN.1 BER encoding/decoding library.
Home Page: http://www.openmuc.org/
Fork of: jASN1 is an LGPL licensed Java ASN.1 BER encoding/decoding library.
Home Page: http://www.openmuc.org/
Using gradle 2.14:
A problem occurred evaluating root project 'jASN1'.
> Could not find method mavenRepo() for arguments [{name=bintray-juherr-asn1, url=http://dl.bintray.com/content/juherr/asn1}] on repository container.
The method mavenRepo
was deprecated in gradle 1.8 and removed in gradle 2.0
First, congrats on making a great piece of software. I'm using int in one of my projects with great joy.
I'd like to report the following bug: if you encode a real and then decode it, you do not get back the same number. Consider the following encode-decode cycle.
public void testDecimal() throws IOException {
final BerReal orig = new BerReal(0.7);
final BerByteArrayOutputStream baos = new BerByteArrayOutputStream(100, true);
orig.encode(baos, false);
final BerReal decoded = new BerReal();
decoded.decode(new ByteArrayInputStream(baos.getArray()), false);
assertEquals(orig.value, decoded.value, 0.001);
}
The method (run as a JUnit test) fails at the assertion with the following message:
junit.framework.AssertionFailedError:
Expected :0.7
Actual :1.9085127855866801E-7
The explicit
parameter in the decode
method makes no difference: setting it to true
produces the same error.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.