Description

Copier read chunk size property, in bytes.

When a Efl.Io.Copier.source is flagged with Efl.Io.Reader.can_read true, data will be read using Efl.Io.Reader.read into an intermediate buffer of this size.

Setting this value large enough may reduce number of Efl.Io.Reader.read, improving performance at the expense of more memory consumption.

This value is bounded by Efl.Io.Copier.buffer_limit if it's set.

By default it's 4096.

Since 1.19

Values

  • size - This is the chunk size to use for read operations

Setter

Set chunk size for each basic Efl.Io.Reader.read operation.

Since 1.19

Signature

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

C signature

size_t efl_io_copier_read_chunk_size_get(const Eo *obj);
void efl_io_copier_read_chunk_size_set(Eo *obj, size_t size);

Implemented by

  • Efl.Io.Copier.read_chunk_size