method Buffer.prototype.lengthView codeBuffer.prototype.length(): numberA read only number of bytes of the unread portion of the buffer. Return TypenumberView code