aboutsummaryrefslogtreecommitdiffstats
path: root/pages/develop/api/efl/net/dialer/simple/property/read_chunk_size.txt
blob: 95ff105ec11b43e76440cbb2ff4e2d2c62fd6ba2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
~~Title: Efl.Net.Dialer.Simple.read_chunk_size~~
===== 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}}


//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>

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

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