mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
d335487e3f
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. PR-URL: https://github.com/nodejs/node/pull/53507 Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> |
||
---|---|---|
.. | ||
node_test_fixture.cc | ||
node_test_fixture.h | ||
test_aliased_buffer.cc | ||
test_base64.cc | ||
test_base_object_ptr.cc | ||
test_cppgc.cc | ||
test_crypto_clienthello.cc | ||
test_dataqueue.cc | ||
test_environment.cc | ||
test_inspector_socket_server.cc | ||
test_inspector_socket.cc | ||
test_json_utils.cc | ||
test_linked_binding.cc | ||
test_node_api.cc | ||
test_node_crypto_env.cc | ||
test_node_crypto.cc | ||
test_node_postmortem_metadata.cc | ||
test_node_task_runner.cc | ||
test_path.cc | ||
test_per_process.cc | ||
test_platform.cc | ||
test_quic_cid.cc | ||
test_quic_error.cc | ||
test_quic_tokens.cc | ||
test_report.cc | ||
test_sockaddr.cc | ||
test_traced_value.cc | ||
test_util.cc |