90: missed this in switch to byte buffer in last commit
Reviewed-by: kinsleyw
This commit is contained in:
parent
940e0ab530
commit
29a42d5492
@ -233,7 +233,7 @@
|
||||
|
||||
Pipe.prototype.writeBuffer = function(message) {
|
||||
if (message._impl) message = message._impl; // unwrap if necessary
|
||||
var wrapper = {bytes: message.underlying().length};
|
||||
var wrapper = {bytes: message.underlying().capacity()};
|
||||
this._writeWrappers.push(wrapper);
|
||||
this._pipe.write(message.underlying());
|
||||
return wrapper;
|
||||
|
Loading…
Reference in New Issue
Block a user