Comments (1)
I think the best fix is to "recognize" if the passed in instance is a 'bl' instance, and append all the single buffers. This would be "introspecting" the passed instance, but I think that is better than allocating a big buffer for the sole purpose of appending it to another list.
The original code also might create issues when appending to the nested bl, so we should probably fix it here.
from bl.
Related Issues (20)
- Bring in @types/bl? HOT 2
- possible vulnerability in bl 4.1.0 HOT 2
- Feature request: "Give me a buffer of any length" HOT 2
- Your docs could be friendlier to web devs HOT 1
- replace inherits with class HOT 1
- bug: tests in the npm package HOT 4
- The automated release is failing 🚨 HOT 1
- TypeError: Cannot assign to read only property 'toString' of object '#<BufferList>' HOT 2
- Upgrading [email protected] to [email protected] creates issues HOT 3
- [email protected] looks like an empty build. Contain only package.json HOT 2
- bl without readable-stream HOT 2
- Move away from using instanceof HOT 2
- Feature request: Function to convert BufferList into real Buffer HOT 1
- TypeError: bl.pipe is not a function! HOT 6
- The string "arglebargleglopglyf" causing issues. HOT 3
- No matching version found for bl@^4.0.1 HOT 2
- how to write to a file ? HOT 2
- BufferList.js as independent module HOT 2
- downport CVE-2020-8244 to major version 1.x.x HOT 8
- Feature request: seek() HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bl.