Skip to content

buffer: add {read|write}Big[U]Int64{BE|LE} methods#19691

Closed
seishun wants to merge 12 commits intonodejs:masterfrom
seishun:buffer64
Closed

buffer: add {read|write}Big[U]Int64{BE|LE} methods#19691
seishun wants to merge 12 commits intonodejs:masterfrom
seishun:buffer64

Conversation

@seishun
Copy link
Copy Markdown
Contributor

@seishun seishun commented Mar 30, 2018

This is a resurrection of #15152, this time with BigInts.

The functions writeBigU_Int64LE and writeBigU_Int64BE look so terrible because setting Uint8Array values to BigInt is disallowed by the spec. I submitted an issue about it in tc39/proposal-bigint#137. Please 👍 it or whatever if you agree.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

buffer Issues and PRs related to the buffer subsystem. notable-change PRs with changes that should be highlighted in changelogs. semver-minor PRs that contain new features and should be released in the next minor version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.