Description

Limit how big the buffer can grow.

This affects both Efl.Io.Queue.preallocate and how buffer grows when Efl.Io.Writer.write is called.

If you want a buffer of an exact size, always set the limit before any further calls that can expand it.

Since 1.19

Values

  • size - Defines a maximum buffer size, or 0 to allow unlimited amount of bytes

Setter

Constructor-only property to set buffer limit. 0 is unlimited

Since 1.19

Signature

@property limit {
    get {
        values {
            size: size;
        }
    }
    set {
        values {
            size: size;
        }
    }
}

C signature

size_t efl_io_queue_limit_get(const Eo *obj);
void efl_io_queue_limit_set(Eo *obj, size_t size);

Implemented by

  • Efl.Io.Queue.limit