You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code did not throw an exception in v6.3.1 but does in v6.4.0:
'use strict';
const buf = Buffer.alloc(8);
// Write an empty string starting after the last byte of the buffer.
buf.write('', 8, 'utf8');
Reporting because it may be a regression that affects other people.
I'm not sure what should be expected or if this change needs to be documented somewhere. It probably makes complete sense that an exception is thrown, so I am not really questioning whether the way it works in v6.4.0 is correct or not.
The text was updated successfully, but these errors were encountered:
targos
added
duplicate
Issues and PRs that are duplicates of other issues or PRs.
buffer
Issues and PRs related to the buffer subsystem.
labels
Aug 22, 2016
The following code did not throw an exception in v6.3.1 but does in v6.4.0:
Reporting because it may be a regression that affects other people.
I'm not sure what should be expected or if this change needs to be documented somewhere. It probably makes complete sense that an exception is thrown, so I am not really questioning whether the way it works in v6.4.0 is correct or not.
The text was updated successfully, but these errors were encountered: