aboutsummaryrefslogblamecommitdiffstats
path: root/pages/develop/api/efl/net/dialer/simple/property/read_chunk_size.txt
blob: f8ef49d3dee85dc47b8f67e4ccc7b07da3bc6c3a (plain) (tree)
1
2
                                                
                                                                                                                                                                





























                                                                      
                                                                                                                                                                                
 
                                                                                                                                                                                            
 
                                                                                                                                                               




                         
 
                                                                                                             


                
                                                                                                               
 
              
                                                                                                                    



                          
                                                                                                           
 
~~Title: Efl.Net.Dialer.Simple.read_chunk_size~~
//Overridden from [[:develop:api:efl:io:buffered_stream:property:read_chunk_size|Efl.Io.Buffered_Stream.read_chunk_size]] **(get, set)**.//===== Signature =====

<code>
@property read_chunk_size {
    get {
        values {
            size: size;
        }
    }
    set {
        values {
            size: size;
        }
    }
}
</code>

===== C signature =====

<code c>
size_t efl_io_buffered_stream_read_chunk_size_get(const Eo *obj);
void efl_io_buffered_stream_read_chunk_size_set(Eo *obj, size_t size);
</code>

===== Values =====

  * **size** - %%This is the chunk size to use for read operations%%
===== Description =====

%%Reads chunk size property, in bytes.%%

%%When reading the %%[[:develop:api:efl:io:buffered_stream:property:inner_io|Efl.Io.Buffered_Stream.inner_io]]%% for data to be placed in input queue, use this as chunk size.%%

%%Setting this value large enough may reduce number of %%[[:develop:api:efl:io:reader:method:read|Efl.Io.Reader.read]]%%, improving performance at the expense of more memory consumption.%%

%%This value is bounded by %%[[:develop:api:efl:io:buffered_stream:property:max_queue_size_input|Efl.Io.Buffered_Stream.max_queue_size_input]]%% if it's set.%%

%%By default it's 4096.%%

//Since 1.19//


{{page>:develop:api-include:efl:net:dialer:simple:property:read_chunk_size:description&nouser&nolink&nodate}}

==== Setter ====

%%Sets chunk size for each basic %%[[:develop:api:efl:io:reader:method:read|Efl.Io.Reader.read]]%% operation.%%

//Since 1.19//
{{page>:develop:api-include:efl:net:dialer:simple:property:read_chunk_size:getter_description&nouser&nolink&nodate}}


===== Implemented by =====

  * [[:develop:api:efl:io:buffered_stream:property:read_chunk_size|Efl.Io.Buffered_Stream.read_chunk_size]]