-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Deprecate 'binary' encoding #3279
Comments
When nothing else in node uses this, re-apply 5979f09 (reverted in master). |
The cost of doing this is too high. People use the binary encoding, apparently, and don't want it taken away. It's not in the way at all, so let's drop this. |
@isaacs: I know this is an old and closed issue, but I must say I am happy to hear about your conclusion to this issue. Indeed, a good number of libraries use binary and removing this encoding would break a lot of stuff. I am working with binary data (Adobe amf and others) and in some cases, I have tried to use all other encoding types and only binary works for me, in terms of interacting with other modules. So, the other reason I am posting is to ask that the section in the Buffers documentation page which mentions deprecating binary be removed, since its presence has caused me for one, quite a bit of time, trying to avoid using it and, eventually coming here to see other requests to keep it and your conclution above. Should I create a new issue? Many thanks. |
@Gregg8 Just to solidify, @isaacs I'll go ahead and update the Buffer docs. They have a few things that need to be updated (e.g. removing deprecation notice, noting that |
Would that upgrade bring a possibility of a fix for #1772, i.e. more encodings with one byte per character? |
@Mithgol the new api does no interpretation of the data coming in. part of why it's so crazy fast. so, like your example of |
Depends on #3278.
The text was updated successfully, but these errors were encountered: