buffer-capacity ( buffer: buffer -- n )
Factor handbook » The language » Collections » Locked I/O buffers

Prev:buffer-empty? ( buffer: buffer -- ? )
Next:buffer@ ( buffer: buffer -- alien )


Vocabulary
io.buffers

Inputs
buffera buffer


Outputs
na non-negative integer


Word description
Outputs the buffer's maximum capacity before growing.

Examples
USING: destructors io.buffers prettyprint ; 100 <buffer> [ buffer-capacity ] with-disposal .
100


Definition