Dynamic buffers can be used for fast string concatenation. They are initialized with a fixed size node Buffer, which will be replaced with a larger one transparently when needed.
Want to see pretty graphs? Log in now!
npm install DynamicBuffer
|2||downloads in the last week|
|7||downloads in the last month|
|Last Published By|
|Version||0.1.0 last updated 2 years ago|
DynamicBuffer, a wrapper around node.js Buffer class
The Buffer class of node.js by default cannot be used as buffer to concatenate strings, like StringBuilder known from java [http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html]. This module contains a wrapper around node.js Buffer to concatenate strings into a Buffer, while automatically creating larger Buffers in the background, if more space is needed.