Deno.Buffer.prototype.capacity - Deno documentation
property Deno.Buffer.prototype.capacity

The read only capacity of the buffer's underlying byte slice, that is, the total space allocated for the buffer's data.

Type

number