Table of Contents

Efl.Io.Reader.read

Description

Reads data into a pre-allocated buffer.

This operation will be executed immediately and may or may not block the caller thread for some time. The details of blocking behavior is to be defined by the implementation and may be subject to other parameters such as non-blocking flags, maximum timeout or even retry attempts.

You can understand this method as read(2) libc function.

Since 1.22

Signature

read @pure_virtual {
    params {
        @inout rw_slice: rw_slice<ubyte>;
    }
    return: Eina.Error;
}

C signature

Eina_Error efl_io_reader_read(Eo *obj, Eina_Rw_Slice rw_slice);

Parameters

Implemented by