no2chem / bigint-buffer

💪🔢 bigint-buffer: Buffer Utilities for TC39 BigInt Proposal
Apache License 2.0
54 stars 11 forks source link

Fix wrong bigint due to alignment #6

Closed no2chem closed 5 years ago

no2chem commented 5 years ago

This PR fixes an issue where toBufferBE was producing the wrong bigints due to a bug in the re-alignment code in the native bindings.