Description

Immediately pre-allocate a buffer of at least a given size.

Since 1.19

Signature

preallocate {
    params {
        @in size: size;
    }
}

C signature

void efl_io_buffer_preallocate(Eo *obj, size_t size);

Parameters

  • size (in) - Amount of bytes to pre-allocate.

Implemented by

  • Efl.Io.Buffer.preallocate