method Buffer.prototype.resetView codeBuffer.prototype.reset(): voidResets to an empty buffer. Return TypevoidView code