writer#clear method

This commit is contained in:
brianc 2011-01-01 11:33:50 -06:00
parent 905207dff8
commit 222fbffcfd

View File

@ -71,4 +71,8 @@ p.add = function(otherBuffer) {
return this;
}
p.clear = function() {
this.offset=0;
}
module.exports = Writer;