Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React-native bigint64 deserialization problem - refactoring/bigint64le #16

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
lint and comment fix
Admdebian committed Nov 29, 2021
commit 372cef9bd41bd1f5d03ed6f5ccc0caa19a974a0d
2 changes: 1 addition & 1 deletion src/readBig.ts
Original file line number Diff line number Diff line change
@@ -45,7 +45,7 @@ export function readBigUInt64LE(buffer: Buffer, offset = 0): bigint {

tot += addend

//console.log("index: " + index + ", buffer value: " + value + ", decimal value: " + addend + ", tot: " + tot)
// console.log("index: " + index + ", buffer value: " + value + ", decimal value: " + addend + ", tot: " + tot)
}

return BigInt(tot)