Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARROW-12578: [JS] Remove Buffer in favor of TextEncoder API to suppor…
…t bundlers such as Rollup Bundlers such as Rollup do not recognize the `_Buffer` import, which breaks their builds. This change resolves this issue by removing Buffer in favor of `TextEncoder`. Note that change incurs a performance penalty on Node as `Buffer` is often faster. Co-authored-by: Adam Lippai <adam@rigo.sk> Co-authored-by: Paul Taylor <paul.e.taylor@me.com> Closes #10332 from domoritz/remove-buffer-js Authored-by: Dominik Moritz <domoritz@gmail.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
- Loading branch information