aboutsummaryrefslogtreecommitdiff
path: root/bench/snippets/arraybuffersink.mjs
diff options
context:
space:
mode:
authorGravatar Ciro Spaciari <ciro.spaciari@gmail.com> 2023-01-23 21:48:52 -0300
committerGravatar GitHub <noreply@github.com> 2023-01-23 16:48:52 -0800
commitb3533fb3a88b33da50e58ad9594a0559af575035 (patch)
tree05c1a22ab6b967ce8ced970e4dcd783e056e50cc /bench/snippets/arraybuffersink.mjs
parent79c0b614ee04d06d9565cd52450b0de1f58fa87e (diff)
downloadbun-b3533fb3a88b33da50e58ad9594a0559af575035.tar.gz
bun-b3533fb3a88b33da50e58ad9594a0559af575035.tar.zst
bun-b3533fb3a88b33da50e58ad9594a0559af575035.zip
fix(Buffer) Fix arguments in buffer.write, fix size returned from buffer.write for utf16, fix size calc for base64, fix calc for hex byte size (#1881)
* fix buffer write when more than 2 args are passed * fix encoding parameter * better buffer write tests * fix ucs2/utf8 len return * fix base64 size in Buffer write * fix hex encoding size * actual fix base64 * actual fix base64 * fix segfault * add fill parameter in Buffer.alloc * use createUnitialized when alloc have fill parameter, use RETURN_IF_EXCEPTION when static casting * fix utf16le, ucs2 copying in Buffer write
Diffstat (limited to 'bench/snippets/arraybuffersink.mjs')
0 files changed, 0 insertions, 0 deletions