Support for FileReadStream.setEncoding
This commit is contained in:
parent
76f98c27de
commit
f2212fa59d
@ -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…
x
Reference in New Issue
Block a user