buffer
class defined at curl/kernel/buffer.curl:11
Accumulates an arbitrary sequence of objects of type any. {param size} is the initial size of the container.
{buffer.aref i:int}:any
method defined at curl/kernel/buffer.curl:43
Returns the {param i}'th object in the buffer.
{buffer.buffer-space-remaining}:int
method defined at curl/kernel/buffer.curl:22
{buffer.init size:int}:void
method defined at curl/kernel/buffer.curl:19
{buffer.length}:int
method defined at curl/kernel/buffer.curl:40
Returns the number of objects in the buffer.
{buffer.put obj:any}:void
method defined at curl/kernel/buffer.curl:30
Adds an object to the buffer.
{buffer.Recycle}:void
method defined at curl/kernel/buffer.curl:45
{buffer.vector! t:type area:Area=default-area}:any
method defined at curl/kernel/buffer.curl:37
Returns the contents of the buffer as an array of {param t} and returns the buffer to the buffer pool.