node 4.2.1: Don't manually define length of Buffers #9
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "buffer-length"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It is undefined to define the length on an already allocated Buffer.
This removes any instances of that and makes sure to return a buffer of the expected length.
This also allows js-codepage to work with the latest version of node.
I know a few similar PR has been made, but this one aims to solve all of the related issues.
Hello, could you give me a status on this? I'm more than happy to change anything if needed.
Also note that the travis build only failed because of a timeout in the build, so it is passing if travis isn't slow. :)
@mikkeloscar sorry for the delay, the current version (where all manual length assignments were replaced with slices) passes all of the tests in node 0.8 through 5.0 and has been pushed as version 1.4.0
Thanks!
Pull request closed