Browse Source

Support for FileReadStream.setEncoding

v0.7.4-release
Felix Geisendörfer 15 years ago
committed by Ryan Dahl
parent
commit
f2212fa59d
  1. 3
      lib/fs.js

3
lib/fs.js

@ -515,6 +515,9 @@ var FileReadStream = fs.FileReadStream = function(path, options) {
};
sys.inherits(FileReadStream, events.EventEmitter);
FileReadStream.prototype.setEncoding = function(encoding) {
this.encoding = encoding;
};
FileReadStream.prototype._read = function () {
var self = this;

Loading…
Cancel
Save