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

src, deps: add nbytes library #53507

Closed
wants to merge 5 commits into from

Commits on Jun 19, 2024

  1. src, deps: add nbytes library

    Projects that seek to implement Node.js compatible APIs end up
    needed to reproduce various bits of functionality internally in
    order to faithfully replicate the Node.js behaviors. This is
    particularly true for things like byte manipulation, base64 and
    hex encoding, and other low-level operations. This change
    proposes moving much of this low-level byte manipulation code
    out of nodejs/src and into a new `nbytes` library. Initially this
    new library will exist in the `deps` directory but the intent is
    to spin out a new separate repository to be its home in the future.
    Doing so will allow other projects to use the nbytes library with
    exactly the same implementation as Node.js.
    
    This commit moves only the byte swapping and legacy base64 handling
    code. Additional commits will move additional byte manipulation
    logic into the library.
    jasnell committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    dff4a35 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    05e5cde View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    142021a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    13c8029 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2024

  1. Configuration menu
    Copy the full SHA
    1d57b62 View commit details
    Browse the repository at this point in the history