An open API service for providing issue and pull request metadata for open source projects.

GitHub / nodejs/node issues and pull requests

Labelled with: buffer

#59300 - buffer: cache encoding operations to improve performance

Pull Request - State: closed - Opened by abdidvp 6 months ago - 1 comment
Labels: buffer, needs-ci

#59275 - src: warn about FastOneByteString invalidation

Pull Request - State: closed - Opened by jasnell 6 months ago - 6 comments
Labels: buffer, c++, author ready, needs-ci

#59043 - buffer: cache Environment::GetCurrent to avoid repeated calls

Pull Request - State: open - Opened by mertcanaltin 7 months ago - 2 comments
Labels: buffer, c++, needs-ci, request-ci

#58912 - doc: update buffer examples to use subarray instead of slice

Pull Request - State: open - Opened by y-hsgw 7 months ago
Labels: buffer, doc

#58409 - buffer: implement native C++ fast-path for Buffer.concat

Pull Request - State: closed - Opened by mertcanaltin 9 months ago - 9 comments
Labels: buffer, c++, needs-ci

#58409 - buffer: implement native C++ fast-path for Buffer.concat

Pull Request - State: closed - Opened by mertcanaltin 9 months ago - 9 comments
Labels: buffer, c++, needs-ci

#58348 - Introduce buffer relative methods

Issue - State: open - Opened by araujogui 9 months ago - 8 comments
Labels: buffer, feature request

#58295 - buffer: create relative reading methods

Pull Request - State: open - Opened by araujogui 9 months ago - 4 comments
Labels: buffer, needs-ci

#58295 - buffer: create relative reading methods

Pull Request - State: open - Opened by araujogui 9 months ago - 7 comments
Labels: buffer, needs-ci

#58266 - buffer: avoid unnecessary copy in Buffer.concat for single FastBuffer

Pull Request - State: closed - Opened by mertcanaltin 9 months ago - 1 comment
Labels: buffer, needs-ci

#58258 - buffer: give names to `Buffer.prototype.*Write()` functions

Pull Request - State: closed - Opened by LiviaMedeiros 9 months ago - 4 comments
Labels: buffer, author ready, needs-ci

#58258 - buffer: give names to `Buffer.prototype.*Write()` functions

Pull Request - State: closed - Opened by LiviaMedeiros 9 months ago - 3 comments
Labels: buffer, author ready, needs-ci

#58222 - buffer: use atomic freecallback instead of mutex in callbackinfo

Pull Request - State: closed - Opened by mertcanaltin 9 months ago - 1 comment
Labels: buffer, c++, needs-ci

#58222 - buffer: use atomic freecallback instead of mutex in callbackinfo

Pull Request - State: closed - Opened by mertcanaltin 9 months ago - 1 comment
Labels: buffer, c++, needs-ci

#58220 - buffer: move SlowBuffer to EOL

Pull Request - State: closed - Opened by panva 9 months ago - 7 comments
Labels: buffer, c++, semver-major, author ready, deprecations, needs-ci, config

#58220 - buffer: move SlowBuffer to EOL

Pull Request - State: open - Opened by panva 9 months ago - 7 comments
Labels: buffer, c++, semver-major, author ready, deprecations, needs-ci, commit-queue, config

#58211 - Revert "buffer: move SlowBuffer to EOL"

Pull Request - State: closed - Opened by panva 9 months ago - 25 comments
Labels: buffer, c++, notable-change, fast-track, author ready, needs-ci, dont-land-on-v20.x, dont-land-on-v22.x, dont-land-on-v23.x, config

#58211 - Revert "buffer: move SlowBuffer to EOL"

Pull Request - State: closed - Opened by panva 9 months ago - 22 comments
Labels: buffer, c++, fast-track, author ready, needs-ci, dont-land-on-v20.x, dont-land-on-v22.x, dont-land-on-v23.x, config

#58163 - src: refactor WriteUCS2 and remove flags argument

Pull Request - State: closed - Opened by tniessen 9 months ago - 4 comments
Labels: buffer, c++, author ready, needs-ci

#58163 - src: refactor WriteUCS2 and remove flags argument

Pull Request - State: closed - Opened by tniessen 9 months ago - 3 comments
Labels: buffer, c++, author ready, needs-ci

#58156 - buffer: use Utf8LengthV2() instead of Utf8Length()

Pull Request - State: closed - Opened by tniessen 9 months ago - 8 comments
Labels: buffer, c++, author ready, needs-ci

#58156 - buffer: use Utf8LengthV2() instead of Utf8Length()

Pull Request - State: closed - Opened by tniessen 9 months ago - 7 comments
Labels: buffer, c++, author ready, needs-ci

#58141 - buffer: use constexpr where possible

Pull Request - State: closed - Opened by anonrig 9 months ago - 8 comments
Labels: buffer, c++, needs-ci

#58141 - buffer: use constexpr where possible

Pull Request - State: open - Opened by anonrig 9 months ago - 5 comments
Labels: buffer, c++, needs-ci

#58058 - buffer: add fast api for isAscii & isUtf8

Pull Request - State: open - Opened by anonrig 9 months ago - 12 comments
Labels: buffer, c++, author ready, needs-ci

#58055 - src: remove unused detachArrayBuffer method

Pull Request - State: closed - Opened by anonrig 9 months ago - 5 comments
Labels: buffer, c++, author ready, needs-ci

#58055 - src: remove unused detachArrayBuffer method

Pull Request - State: closed - Opened by anonrig 9 months ago - 4 comments
Labels: buffer, c++, author ready, needs-ci

#58053 - buffer: avoid creating unnecessary environment

Pull Request - State: closed - Opened by anonrig 9 months ago - 6 comments
Labels: buffer, c++, author ready, needs-ci

#58053 - buffer: avoid creating unnecessary environment

Pull Request - State: closed - Opened by anonrig 9 months ago - 7 comments
Labels: buffer, c++, author ready, needs-ci

#58052 - doc: fix typo in `buffer.md`

Pull Request - State: closed - Opened by chocolateboy 9 months ago - 1 comment
Labels: buffer, doc, author ready

#58048 - buffer: improve byteLength performance

Pull Request - State: closed - Opened by anonrig 9 months ago - 8 comments
Labels: buffer, c++, author ready, needs-ci

#58008 - buffer: move SlowBuffer to EOL

Pull Request - State: closed - Opened by jasnell 10 months ago - 8 comments
Labels: buffer, c++, semver-major, author ready, deprecations, needs-ci, needs-citgm, config

#58008 - buffer: move SlowBuffer to EOL

Pull Request - State: open - Opened by jasnell 10 months ago - 5 comments
Labels: buffer, c++, semver-major, author ready, deprecations, needs-ci, config

#57697 - string_decoder: cache BufferedBytes() value in DecodeData

Pull Request - State: closed - Opened by mertcanaltin 10 months ago - 5 comments
Labels: buffer, c++, needs-ci

#57697 - string_decoder: cache BufferedBytes() value in DecodeData

Pull Request - State: closed - Opened by mertcanaltin 10 months ago - 5 comments
Labels: buffer, c++, needs-ci

#57676 - buffer: define global v8::CFunction objects as const

Pull Request - State: closed - Opened by mertcanaltin 10 months ago - 3 comments
Labels: buffer, c++, author ready, needs-ci

#57676 - buffer: define global v8::CFunction objects as const

Pull Request - State: open - Opened by mertcanaltin 10 months ago - 2 comments
Labels: buffer, c++, needs-ci

#57625 - Improves

Pull Request - State: open - Opened by wcupped 11 months ago - 4 comments
Labels: buffer, c++, process, needs-ci

#57267 - buffer: optimize read UInt16/24 functions with bitwise operators

Pull Request - State: closed - Opened by gurgunday 11 months ago - 1 comment
Labels: buffer, needs-ci, needs-benchmark-ci

#57267 - buffer: optimize read UInt16/24 functions with bitwise operators

Pull Request - State: open - Opened by gurgunday 11 months ago - 1 comment
Labels: buffer, needs-ci, needs-benchmark-ci

#56978 - src: improve error handling in string_bytes/decoder

Pull Request - State: closed - Opened by jasnell 12 months ago - 3 comments
Labels: buffer, c++, author ready, needs-ci

#56978 - src: improve error handling in string_bytes/decoder

Pull Request - State: closed - Opened by jasnell 12 months ago - 4 comments
Labels: buffer, c++, author ready, needs-ci

#56921 - doc: make MDN links to global classes more consistent in `buffer.md`

Pull Request - State: closed - Opened by aduh95 about 1 year ago
Labels: buffer, doc, author ready

#56225 - util: harden more built-in classes against prototype pollution

Pull Request - State: closed - Opened by aduh95 about 1 year ago - 4 comments
Labels: buffer, util, author ready, needs-ci

#55564 - Incorrect result from `Buffer.from(...).buffer` when using `base64url` encoding

Issue - State: closed - Opened by Foair over 1 year ago - 5 comments
Labels: buffer

#55562 - Document `Buffer.concat` zero-fill behavior

Pull Request - State: closed - Opened by duncpro over 1 year ago
Labels: buffer, doc, author ready, commit-queue-squash

#55562 - Document `Buffer.concat` zero-fill behavior

Pull Request - State: closed - Opened by duncpro over 1 year ago - 1 comment
Labels: buffer, doc, author ready, commit-queue-squash

#55492 - fix: support buffers greater than `2^32` bytes in length in `Buffer.concat` and `Buffer.copy`

Pull Request - State: open - Opened by duncpro over 1 year ago - 15 comments
Labels: buffer, c++, needs-ci, commit-queue-squash

#55377 - buffer: make Buffer work with resizable ArrayBuffer

Pull Request - State: closed - Opened by jasnell over 1 year ago - 3 comments
Labels: buffer, semver-minor, notable-change, author ready

#55377 - buffer: make Buffer work with resizable ArrayBuffer

Pull Request - State: open - Opened by jasnell over 1 year ago - 3 comments
Labels: buffer, semver-minor, notable-change, author ready, commit-queue

#55360 - Add lastChunkHandling ("loose", "strict", or "stop-before-partial") to base64 decoding

Issue - State: open - Opened by lemire over 1 year ago
Labels: buffer, feature request

#55345 - Access Violation on `Buffer::New` from C++ API

Issue - State: closed - Opened by DaisyDogs07 over 1 year ago - 2 comments
Labels: buffer, node-api

#55295 - benchmark: adjust byte size for buffer-copy

Pull Request - State: closed - Opened by RafaelGSS over 1 year ago - 4 comments
Labels: buffer, benchmark, author ready

#55295 - benchmark: adjust byte size for buffer-copy

Pull Request - State: closed - Opened by RafaelGSS over 1 year ago - 3 comments
Labels: buffer, benchmark, author ready

#55286 - src: implement IsInsideNodeModules() in C++

Pull Request - State: closed - Opened by joyeecheung over 1 year ago - 9 comments
Labels: buffer, util, c++, needs-ci, commit-queue-squash

#55286 - src: implement IsInsideNodeModules() in C++

Pull Request - State: closed - Opened by joyeecheung over 1 year ago - 11 comments
Labels: buffer, util, c++, needs-ci, commit-queue-squash, backport-open-v20.x, backported-to-v22.x

#55278 - `Buffer.asciiWrite` is still slow for strings generated with `.repeat()` or `.concat()`

Issue - State: closed - Opened by sendoru over 1 year ago - 5 comments
Labels: buffer, performance

#55273 - doc: add missing return values in buffer docs

Pull Request - State: closed - Opened by karlhorky over 1 year ago - 6 comments
Labels: buffer, doc, fast-track, author ready

#55273 - doc: add missing return values in buffer docs

Pull Request - State: closed - Opened by karlhorky over 1 year ago - 8 comments
Labels: buffer, doc, fast-track, author ready

#55261 - v8: out of bounds copy

Pull Request - State: closed - Opened by ronag over 1 year ago - 6 comments
Labels: buffer, author ready, needs-ci, v8 module

#55213 - [v20.x backport] buffer: fix out of range for toString

Pull Request - State: closed - Opened by jazelly over 1 year ago - 4 comments
Labels: buffer, needs-ci, v20.x

#55213 - [v20.x backport] buffer: fix out of range for toString

Pull Request - State: closed - Opened by jazelly over 1 year ago - 4 comments
Labels: buffer, needs-ci, v20.x

#55176 - src,test: drop SlowBuffer

Pull Request - State: closed - Opened by RafaelGSS over 1 year ago - 5 comments
Labels: buffer, c++, semver-major, needs-ci

#55176 - src,test: drop SlowBuffer

Pull Request - State: closed - Opened by RafaelGSS over 1 year ago - 5 comments
Labels: buffer, c++, semver-major, needs-ci

#55175 - lib: runtime deprecate SlowBuffer

Pull Request - State: closed - Opened by RafaelGSS over 1 year ago - 16 comments
Labels: buffer, semver-major, needs-ci, needs-citgm

#55175 - lib: runtime deprecate SlowBuffer

Pull Request - State: open - Opened by RafaelGSS over 1 year ago - 13 comments
Labels: buffer, semver-major, needs-ci, needs-citgm

#55141 - buffer: coerce extrema to int in `blob.slice`

Pull Request - State: closed - Opened by aduh95 over 1 year ago - 5 comments
Labels: buffer, author ready, needs-ci, commit-queue-squash

#55141 - buffer: coerce extrema to int in `blob.slice`

Pull Request - State: closed - Opened by aduh95 over 1 year ago - 4 comments
Labels: buffer, author ready, needs-ci, commit-queue-squash

#55139 - Assertion failed: `args[1]->IsUint32()` when slicing Blob with non-integer parameters

Issue - State: closed - Opened by daniellockyer over 1 year ago
Labels: confirmed-bug, buffer

#55138 - buffer: correctly apply prototype to cloned `File` / `Blob`

Pull Request - State: closed - Opened by RedYetiDev over 1 year ago - 2 comments
Labels: buffer, author ready, needs-ci, web-standards

#55138 - buffer: correctly apply prototype to cloned `File` / `Blob`

Pull Request - State: closed - Opened by RedYetiDev over 1 year ago - 3 comments
Labels: buffer, author ready, needs-ci, dont-land-on-v18.x, dont-land-on-v20.x, web-standards, dont-land-on-v22.x

#54880 - src: add Cleanable class to Environment

Pull Request - State: closed - Opened by gabrielschulhof over 1 year ago - 19 comments
Labels: buffer, c++, lib / src, node-api

#54880 - src: add Cleanable class to Environment

Pull Request - State: closed - Opened by gabrielschulhof over 1 year ago - 18 comments
Labels: buffer, c++, lib / src, node-api

#54877 - node-api: add external buffer creation benchmark

Pull Request - State: closed - Opened by legendecas over 1 year ago - 2 comments
Labels: buffer, benchmark, node-api

#54877 - node-api: add external buffer creation benchmark

Pull Request - State: closed - Opened by legendecas over 1 year ago - 3 comments
Labels: buffer, benchmark, node-api

#54876 - src: simplify string_bytes with views

Pull Request - State: closed - Opened by lemire over 1 year ago - 5 comments
Labels: buffer, c++, author ready, needs-ci, commit-queue-squash

#54876 - src: simplify string_bytes with views

Pull Request - State: closed - Opened by lemire over 1 year ago - 9 comments
Labels: buffer, c++, author ready, needs-ci, commit-queue-squash, dont-land-on-v22.x

#54800 - buffer: improve `toJSON` performance

Pull Request - State: open - Opened by anonrig over 1 year ago - 1 comment
Labels: buffer, needs-ci, needs-benchmark-ci

#54798 - buffer: use simdutf convert_latin1_to_utf8_safe

Pull Request - State: closed - Opened by ronag over 1 year ago - 12 comments
Labels: buffer, c++, author ready, needs-ci

#54740 - benchmark: add isUtf8 and isAscii bench

Pull Request - State: closed - Opened by RafaelGSS over 1 year ago - 2 comments
Labels: buffer, benchmark, author ready, commit-queue-rebase

#54637 - doc: clarify Web Storage behavior

Pull Request - State: closed - Opened by jmsb02 over 1 year ago
Labels: buffer, doc

#54588 - buffer: throw when writing beyond buffer

Pull Request - State: closed - Opened by ronag over 1 year ago - 9 comments
Labels: buffer, semver-major, author ready, needs-ci, revert

#54588 - buffer: throw when writing beyond buffer

Pull Request - State: closed - Opened by ronag over 1 year ago - 9 comments
Labels: buffer, semver-major, author ready, needs-ci, revert

#54586 - buffer: throw on invalid encoding in Buffer.from

Pull Request - State: open - Opened by ronag over 1 year ago - 5 comments
Labels: buffer, semver-major

#54565 - src: disable fast methods for `buffer.write`

Pull Request - State: closed - Opened by targos over 1 year ago - 19 comments
Labels: buffer, c++, fast-track, author ready, needs-ci

#54565 - src: disable fast methods for `buffer.write`

Pull Request - State: open - Opened by targos over 1 year ago - 13 comments
Labels: buffer, c++, fast-track, author ready, needs-ci

#54553 - buffer: fix out of range for toString

Pull Request - State: closed - Opened by jazelly over 1 year ago - 12 comments
Labels: buffer, author ready, needs-ci, commit-queue-squash, backport-open-v20.x

#54543 - UTF+8 encodings are broken

Issue - State: closed - Opened by nikhilro over 1 year ago - 13 comments
Labels: confirmed-bug, buffer, regression, v22.x

#54533 - buffer: allow invalid encoding in from

Pull Request - State: open - Opened by ronag over 1 year ago - 8 comments
Labels: buffer, author ready, needs-ci

#54533 - buffer: allow invalid encoding in from

Pull Request - State: closed - Opened by ronag over 1 year ago - 8 comments
Labels: buffer, author ready, needs-ci

#54532 - SWC + next.js + Node.js v22.7

Issue - State: closed - Opened by RaenonX over 1 year ago - 8 comments
Labels: buffer, regression, v22.x

#54526 - buffer: re-enable Fast API for Buffer.write

Pull Request - State: closed - Opened by ronag over 1 year ago - 50 comments
Labels: buffer, c++, author ready, needs-ci

#54526 - buffer: re-enable Fast API for Buffer.write

Pull Request - State: closed - Opened by ronag over 1 year ago - 51 comments
Labels: buffer, c++, author ready, needs-ci

#54525 - buffer: don't use Fast API for utf8

Pull Request - State: closed - Opened by ronag over 1 year ago - 2 comments
Labels: buffer, c++, needs-ci

#54524 - buffer: truncate instead of throw when writing beyond buffer

Pull Request - State: closed - Opened by ronag over 1 year ago - 18 comments
Labels: buffer, fast-track, author ready, needs-ci

#54524 - buffer: truncate instead of throw when writing beyond buffer

Pull Request - State: closed - Opened by ronag over 1 year ago - 21 comments
Labels: buffer, fast-track, author ready, needs-ci

#54521 - Buffer.from() output breaks after optimizing in nodejs 22.7

Issue - State: closed - Opened by unilynx over 1 year ago - 20 comments
Labels: confirmed-bug, buffer, regression, v22.x

#54518 - ERR_BUFFER_OUT_OF_BOUNDS error with Google Vision package on Node 22.7.0

Issue - State: closed - Opened by Ecostack over 1 year ago - 15 comments
Labels: confirmed-bug, buffer, regression, v22.x

#54505 - node-api: add napi_create_buffer_from_arraybuffer method

Pull Request - State: closed - Opened by mertcanaltin over 1 year ago - 41 comments
Labels: buffer, c++, node-api, needs-ci, commit-queue-squash

#54505 - node-api: add napi_create_buffer_from_arraybuffer method

Pull Request - State: closed - Opened by mertcanaltin over 1 year ago - 40 comments
Labels: buffer, c++, node-api, needs-ci, commit-queue-squash