We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node v 4.3.1 This code don`t work
if (overflow !== null) { buffer = overflow + buffer; }
It actually decrease buffer length This is my 2 chunks read log
read 65536 read + overflow 65536 record 93 overflow 86 read 65536 read + overflow 64298
The first record in 2nd chunk was parsed wrong.
Buffer.concat do the trick
if (overflow !== null) { buffer = Buffer.concat([overflow, buffer]); }
3 chunk log read 65536 read + overflow 65536 record 93 overflow 86 read 65536 read + overflow 65622 record 93 overflow 57 read 65536 read + overflow 65593
The text was updated successfully, but these errors were encountered:
add fix for buffer concatenation
f22ba29
@see abstractvector#21
No branches or pull requests
Node v 4.3.1
This code don`t work
It actually decrease buffer length
This is my 2 chunks read log
read 65536
read + overflow 65536
record 93
overflow 86
read 65536
read + overflow 64298
The first record in 2nd chunk was parsed wrong.
Buffer.concat do the trick
3 chunk log
read 65536
read + overflow 65536
record 93
overflow 86
read 65536
read + overflow 65622
record 93
overflow 57
read 65536
read + overflow 65593
The text was updated successfully, but these errors were encountered: