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
var concat = require('concat-stream');
var src = // some stream which contains non-utf-8 content for ex : shift_jis
var dest = // it is destination stream
var concatStream = concat(function(buffer)) {
// buffer is empty string here. It is not readable while debugging as well.
// I want to do some modifications in this buffer.
dest.write(buffer);
dest.close();
}
On browser I see response is coming back but none of the modifications were made to the content. If I try to debug buffer is empty string in callback.
The text was updated successfully, but these errors were encountered:
See the following piece of code.
On browser I see response is coming back but none of the modifications were made to the content. If I try to debug buffer is empty string in callback.
The text was updated successfully, but these errors were encountered: