method Buffer.prototype.capacityView codeBuffer.prototype.capacity(): numberThe read only capacity of the buffer's underlying byte slice, that is, the total space allocated for the buffer's data. Return TypenumberView code