~kklimonda/ubuntu/natty/glibmm2.4/update

« back to all changes in this revision

Viewing changes to docs/reference/html/classGio_1_1BufferedInputStream.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-03-16 14:26:05 UTC
  • mfrom: (1.2.35 upstream)
  • Revision ID: james.westby@ubuntu.com-20090316142605-gj2oyabw69a9b9li
Tags: 2.20.0-0ubuntu1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
<!-- begin main content -->
21
21
<div id="content">
22
 
<!-- Generated by Doxygen 1.5.6 -->
 
22
<!-- Generated by Doxygen 1.5.8 -->
23
23
  <div class="navpath"><a class="el" href="namespaceGio.html">Gio</a>::<a class="el" href="classGio_1_1BufferedInputStream.html">BufferedInputStream</a>
24
24
  </div>
25
25
<div class="contents">
33
33
Inheritance diagram for Gio::BufferedInputStream:</div>
34
34
<div class="dynsection">
35
35
<p><center><img src="classGio_1_1BufferedInputStream__inherit__graph.png" border="0" usemap="#Gio_1_1BufferedInputStream__inherit__map" alt="Inheritance graph"></center>
36
 
<map name="Gio_1_1BufferedInputStream__inherit__map">
37
 
<area shape="rect" href="classGio_1_1DataInputStream.html" title="An implementation of BufferedInputStream that allows for high&#45;level data manipulation..." alt="" coords="16,453,163,480"><area shape="rect" href="classGio_1_1FilterInputStream.html" title="Filter Input Stream." alt="" coords="15,304,164,330"><area shape="rect" href="classGio_1_1InputStream.html" title="Base class for implementing streaming input." alt="" coords="29,229,149,256"><area shape="rect" href="classGlib_1_1Object.html" title="Glib::Object" alt="" coords="44,154,135,181"><area shape="rect" href="classGlib_1_1ObjectBase.html" title="Glib::ObjectBase is a common base class for Objects and Interfaces." alt="" coords="29,80,149,106"><area shape="rect" href="classsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="36,5,143,32"></map>
38
36
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
39
37
 
40
38
<p>
91
89
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;guint&gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1BufferedInputStream.html#dd79ff7674ee8f29ed4c778d29e4ce91">property_buffer_size</a> ()</td></tr>
92
90
 
93
91
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The size of the backend buffer.  <a href="#dd79ff7674ee8f29ed4c778d29e4ce91"></a><br></td></tr>
94
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br>
 
92
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak">
95
93
&lt;guint&gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1BufferedInputStream.html#4c14baabc1f6e3baffd38bdfb2797d55">property_buffer_size</a> () const </td></tr>
96
94
 
97
95
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The size of the backend buffer.  <a href="#4c14baabc1f6e3baffd38bdfb2797d55"></a><br></td></tr>
98
96
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
99
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br>
 
97
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak">
100
98
&lt;<a class="el" href="classGio_1_1BufferedInputStream.html">BufferedInputStream</a>&gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1BufferedInputStream.html#fc33c31f5c437df14d385d3aa9d1a37b">create</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1InputStream.html">InputStream</a>&gt;&amp; base_stream)</td></tr>
101
99
 
102
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br>
 
100
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak">
103
101
&lt;<a class="el" href="classGio_1_1BufferedInputStream.html">BufferedInputStream</a>&gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1BufferedInputStream.html#47b3b1d2c774e7c322e29beb45653bf9">create_sized</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1InputStream.html">InputStream</a>&gt;&amp; base_stream, gsize size)</td></tr>
104
102
 
105
103
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
109
107
 
110
108
<tr><td colspan="2"><br><h2>Related Functions</h2></td></tr>
111
109
<tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr>
112
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br>
 
110
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak">
113
111
&lt;<a class="el" href="classGio_1_1BufferedInputStream.html">Gio::BufferedInputStream</a>&gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1BufferedInputStream.html#dfe9bf4339f83095d6e96dda7b747575">wrap</a> (GBufferedInputStream* object, bool take_copy=false)</td></tr>
114
112
 
115
113
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A <a class="el" href="namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object.  <a href="#dfe9bf4339f83095d6e96dda7b747575"></a><br></td></tr>
190
188
</div>
191
189
</div><p>
192
190
<hr><h2>Member Function Documentation</h2>
193
 
<a class="anchor" name="a9d0c1e643650b9a45831865f06e21be"></a><!-- doxytag: member="Gio::BufferedInputStream::gobj" ref="a9d0c1e643650b9a45831865f06e21be" args="()" -->
194
 
<div class="memitem">
195
 
<div class="memproto">
196
 
      <table class="memname">
197
 
        <tr>
198
 
          <td class="memname">GBufferedInputStream* Gio::BufferedInputStream::gobj           </td>
199
 
          <td>(</td>
200
 
          <td class="paramname">          </td>
201
 
          <td>&nbsp;)&nbsp;</td>
202
 
          <td><code> [inline]</code></td>
203
 
        </tr>
204
 
      </table>
205
 
</div>
206
 
<div class="memdoc">
207
 
 
208
 
<p>
209
 
Provides access to the underlying C GObject. 
210
 
<p>
211
 
 
212
 
<p>Reimplemented from <a class="el" href="classGio_1_1FilterInputStream.html#6db43589745dcd172f4ca4082bc5d914">Gio::FilterInputStream</a>.</p>
213
 
 
214
 
<p>Reimplemented in <a class="el" href="classGio_1_1DataInputStream.html#d788764326462190e900785f50a50740">Gio::DataInputStream</a>.</p>
215
 
 
216
 
</div>
217
 
</div><p>
218
 
<a class="anchor" name="d6b09565f69b4c1cf1f0ca05ee53709e"></a><!-- doxytag: member="Gio::BufferedInputStream::gobj" ref="d6b09565f69b4c1cf1f0ca05ee53709e" args="() const " -->
219
 
<div class="memitem">
220
 
<div class="memproto">
221
 
      <table class="memname">
222
 
        <tr>
223
 
          <td class="memname">const GBufferedInputStream* Gio::BufferedInputStream::gobj           </td>
224
 
          <td>(</td>
225
 
          <td class="paramname">          </td>
226
 
          <td>&nbsp;)&nbsp;</td>
227
 
          <td> const<code> [inline]</code></td>
228
 
        </tr>
229
 
      </table>
230
 
</div>
231
 
<div class="memdoc">
232
 
 
233
 
<p>
234
 
Provides access to the underlying C GObject. 
235
 
<p>
236
 
 
237
 
<p>Reimplemented from <a class="el" href="classGio_1_1FilterInputStream.html#c8fbd2cc879bfab4854d952b27ce271c">Gio::FilterInputStream</a>.</p>
238
 
 
239
 
<p>Reimplemented in <a class="el" href="classGio_1_1DataInputStream.html#5d8f01998854eac791a3089acef051c0">Gio::DataInputStream</a>.</p>
240
 
 
241
 
</div>
242
 
</div><p>
243
 
<a class="anchor" name="47dc5f78b1faed25cdaaafe42b526d6d"></a><!-- doxytag: member="Gio::BufferedInputStream::gobj_copy" ref="47dc5f78b1faed25cdaaafe42b526d6d" args="()" -->
244
 
<div class="memitem">
245
 
<div class="memproto">
246
 
      <table class="memname">
247
 
        <tr>
248
 
          <td class="memname">GBufferedInputStream* Gio::BufferedInputStream::gobj_copy           </td>
249
 
          <td>(</td>
250
 
          <td class="paramname">          </td>
251
 
          <td>&nbsp;)&nbsp;</td>
252
 
          <td></td>
253
 
        </tr>
254
 
      </table>
255
 
</div>
256
 
<div class="memdoc">
257
 
 
258
 
<p>
259
 
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. 
260
 
<p>
261
 
 
262
 
<p>Reimplemented from <a class="el" href="classGio_1_1FilterInputStream.html#55ef3320e423245cc69066c90785328e">Gio::FilterInputStream</a>.</p>
263
 
 
264
 
<p>Reimplemented in <a class="el" href="classGio_1_1DataInputStream.html#8252806b8ac5548c51a0418162ddb6ab">Gio::DataInputStream</a>.</p>
265
 
 
266
 
</div>
267
 
</div><p>
268
191
<a class="anchor" name="fc33c31f5c437df14d385d3aa9d1a37b"></a><!-- doxytag: member="Gio::BufferedInputStream::create" ref="fc33c31f5c437df14d385d3aa9d1a37b" args="(const Glib::RefPtr&lt; InputStream &gt; &amp;base_stream)" -->
269
192
<div class="memitem">
270
193
<div class="memproto">
316
239
 
317
240
</div>
318
241
</div><p>
 
242
<a class="anchor" name="271eab4876136b4960d37350738bfdfe"></a><!-- doxytag: member="Gio::BufferedInputStream::fill" ref="271eab4876136b4960d37350738bfdfe" args="(gssize count)" -->
 
243
<div class="memitem">
 
244
<div class="memproto">
 
245
      <table class="memname">
 
246
        <tr>
 
247
          <td class="memname">gssize Gio::BufferedInputStream::fill           </td>
 
248
          <td>(</td>
 
249
          <td class="paramtype">gssize&nbsp;</td>
 
250
          <td class="paramname"> <em>count</em>          </td>
 
251
          <td>&nbsp;)&nbsp;</td>
 
252
          <td></td>
 
253
        </tr>
 
254
      </table>
 
255
</div>
 
256
<div class="memdoc">
 
257
 
 
258
<p>
 
259
non-cancellable version of <a class="el" href="classGio_1_1BufferedInputStream.html#197687762599fb7c5b60141b55120cde" title="Tries to read count bytes from the stream into the buffer.">fill()</a> 
 
260
<p>
 
261
 
 
262
</div>
 
263
</div><p>
 
264
<a class="anchor" name="197687762599fb7c5b60141b55120cde"></a><!-- doxytag: member="Gio::BufferedInputStream::fill" ref="197687762599fb7c5b60141b55120cde" args="(gssize count, const Glib::RefPtr&lt; Cancellable &gt; &amp;cancellable)" -->
 
265
<div class="memitem">
 
266
<div class="memproto">
 
267
      <table class="memname">
 
268
        <tr>
 
269
          <td class="memname">gssize Gio::BufferedInputStream::fill           </td>
 
270
          <td>(</td>
 
271
          <td class="paramtype">gssize&nbsp;</td>
 
272
          <td class="paramname"> <em>count</em>, </td>
 
273
        </tr>
 
274
        <tr>
 
275
          <td class="paramkey"></td>
 
276
          <td></td>
 
277
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1Cancellable.html">Cancellable</a>&gt;&amp;&nbsp;</td>
 
278
          <td class="paramname"> <em>cancellable</em></td><td>&nbsp;</td>
 
279
        </tr>
 
280
        <tr>
 
281
          <td></td>
 
282
          <td>)</td>
 
283
          <td></td><td></td><td></td>
 
284
        </tr>
 
285
      </table>
 
286
</div>
 
287
<div class="memdoc">
 
288
 
 
289
<p>
 
290
Tries to read <em>count</em> bytes from the stream into the buffer. 
 
291
<p>
 
292
Will block during this read.<p>
 
293
If <em>count</em> is zero, returns zero and does nothing. A value of <em>count</em> larger than MAXSSIZE will cause a <a class="el" href="classGio_1_1Error.html" title="Exception class for giomm errors.">Gio::Error</a> to be thrown, with INVALID_ARGUMENT.<p>
 
294
On success, the number of bytes read into the buffer is returned. It is not an error if this is not the same as the requested size, as it can happen e.g. near the end of a file. Zero is returned on end of file (or if <em>count</em> is zero), but never otherwise.<p>
 
295
The operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, a <a class="el" href="classGio_1_1Error.html" title="Exception class for giomm errors.">Gio::Error</a> will be thrown with CANCELLED. If an operation was partially finished when the operation was cancelled the partial result will be returned, without an error.<p>
 
296
For the asynchronous, non-blocking, version of this function, see g_buffered_input_stream_fill_async(). <dl compact><dt><b>Parameters:</b></dt><dd>
 
297
  <table border="0" cellspacing="2" cellpadding="0">
 
298
    <tr><td valign="top"></td><td valign="top"><em>count</em>&nbsp;</td><td>The number of bytes that will be read from the stream. </td></tr>
 
299
    <tr><td valign="top"></td><td valign="top"><em>cancellable</em>&nbsp;</td><td><a class="el" href="classGio_1_1Cancellable.html" title="Allows actions to be cancelled.">Cancellable</a> object. </td></tr>
 
300
  </table>
 
301
</dl>
 
302
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The number of bytes read into <em>stream's</em> buffer, up to <em>count</em>, or -1 on error. </dd></dl>
 
303
 
 
304
</div>
 
305
</div><p>
 
306
<a class="anchor" name="adb9c1b367e36c20c91e16ea840b6ef0"></a><!-- doxytag: member="Gio::BufferedInputStream::fill_async" ref="adb9c1b367e36c20c91e16ea840b6ef0" args="(const SlotAsyncReady &amp;slot, gssize count, int io_priority=Glib::PRIORITY_DEFAULT)" -->
 
307
<div class="memitem">
 
308
<div class="memproto">
 
309
      <table class="memname">
 
310
        <tr>
 
311
          <td class="memname">void Gio::BufferedInputStream::fill_async           </td>
 
312
          <td>(</td>
 
313
          <td class="paramtype">const <a class="el" href="namespaceGio.html#ecaa02709f9ab83fa2b36d2571665cbe">SlotAsyncReady</a>&amp;&nbsp;</td>
 
314
          <td class="paramname"> <em>slot</em>, </td>
 
315
        </tr>
 
316
        <tr>
 
317
          <td class="paramkey"></td>
 
318
          <td></td>
 
319
          <td class="paramtype">gssize&nbsp;</td>
 
320
          <td class="paramname"> <em>count</em>, </td>
 
321
        </tr>
 
322
        <tr>
 
323
          <td class="paramkey"></td>
 
324
          <td></td>
 
325
          <td class="paramtype">int&nbsp;</td>
 
326
          <td class="paramname"> <em>io_priority</em> = <code>Glib::PRIORITY_DEFAULT</code></td><td>&nbsp;</td>
 
327
        </tr>
 
328
        <tr>
 
329
          <td></td>
 
330
          <td>)</td>
 
331
          <td></td><td></td><td></td>
 
332
        </tr>
 
333
      </table>
 
334
</div>
 
335
<div class="memdoc">
 
336
 
 
337
<p>
 
338
Reads data into the stream's buffer asynchronously, up to <em>count</em> size. 
 
339
<p>
 
340
<em>io_priority</em> can be used to prioritize reads. For the synchronous version of this function, see <a class="el" href="classGio_1_1BufferedInputStream.html#197687762599fb7c5b60141b55120cde" title="Tries to read count bytes from the stream into the buffer.">fill()</a>.<p>
 
341
<dl compact><dt><b>Parameters:</b></dt><dd>
 
342
  <table border="0" cellspacing="2" cellpadding="0">
 
343
    <tr><td valign="top"></td><td valign="top"><em>slot</em>&nbsp;</td><td>A AsyncReadyCallback. </td></tr>
 
344
    <tr><td valign="top"></td><td valign="top"><em>count</em>&nbsp;</td><td>The number of bytes to read. </td></tr>
 
345
    <tr><td valign="top"></td><td valign="top"><em>io_priority</em>&nbsp;</td><td>the I/O priority of the request. </td></tr>
 
346
  </table>
 
347
</dl>
 
348
 
 
349
</div>
 
350
</div><p>
 
351
<a class="anchor" name="0a41790e04e9ba500eb18d1ce8371d34"></a><!-- doxytag: member="Gio::BufferedInputStream::fill_async" ref="0a41790e04e9ba500eb18d1ce8371d34" args="(const SlotAsyncReady &amp;slot, gssize count, const Glib::RefPtr&lt; Cancellable &gt; &amp;cancellable, int io_priority=Glib::PRIORITY_DEFAULT)" -->
 
352
<div class="memitem">
 
353
<div class="memproto">
 
354
      <table class="memname">
 
355
        <tr>
 
356
          <td class="memname">void Gio::BufferedInputStream::fill_async           </td>
 
357
          <td>(</td>
 
358
          <td class="paramtype">const <a class="el" href="namespaceGio.html#ecaa02709f9ab83fa2b36d2571665cbe">SlotAsyncReady</a>&amp;&nbsp;</td>
 
359
          <td class="paramname"> <em>slot</em>, </td>
 
360
        </tr>
 
361
        <tr>
 
362
          <td class="paramkey"></td>
 
363
          <td></td>
 
364
          <td class="paramtype">gssize&nbsp;</td>
 
365
          <td class="paramname"> <em>count</em>, </td>
 
366
        </tr>
 
367
        <tr>
 
368
          <td class="paramkey"></td>
 
369
          <td></td>
 
370
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1Cancellable.html">Cancellable</a>&gt;&amp;&nbsp;</td>
 
371
          <td class="paramname"> <em>cancellable</em>, </td>
 
372
        </tr>
 
373
        <tr>
 
374
          <td class="paramkey"></td>
 
375
          <td></td>
 
376
          <td class="paramtype">int&nbsp;</td>
 
377
          <td class="paramname"> <em>io_priority</em> = <code>Glib::PRIORITY_DEFAULT</code></td><td>&nbsp;</td>
 
378
        </tr>
 
379
        <tr>
 
380
          <td></td>
 
381
          <td>)</td>
 
382
          <td></td><td></td><td></td>
 
383
        </tr>
 
384
      </table>
 
385
</div>
 
386
<div class="memdoc">
 
387
 
 
388
<p>
 
389
Reads data into the stream's buffer asynchronously, up to <em>count</em> size. 
 
390
<p>
 
391
<em>io_priority</em> can be used to prioritize reads. For the synchronous version of this function, see <a class="el" href="classGio_1_1BufferedInputStream.html#197687762599fb7c5b60141b55120cde" title="Tries to read count bytes from the stream into the buffer.">fill()</a>.<p>
 
392
<dl compact><dt><b>Parameters:</b></dt><dd>
 
393
  <table border="0" cellspacing="2" cellpadding="0">
 
394
    <tr><td valign="top"></td><td valign="top"><em>slot</em>&nbsp;</td><td>A AsyncReadyCallback. </td></tr>
 
395
    <tr><td valign="top"></td><td valign="top"><em>count</em>&nbsp;</td><td>The number of bytes to read. </td></tr>
 
396
    <tr><td valign="top"></td><td valign="top"><em>cancellable</em>&nbsp;</td><td><a class="el" href="classGio_1_1Cancellable.html" title="Allows actions to be cancelled.">Cancellable</a> object. </td></tr>
 
397
    <tr><td valign="top"></td><td valign="top"><em>io_priority</em>&nbsp;</td><td>the I/O priority of the request. </td></tr>
 
398
  </table>
 
399
</dl>
 
400
 
 
401
</div>
 
402
</div><p>
 
403
<a class="anchor" name="13c665ccc722a2544539086846137277"></a><!-- doxytag: member="Gio::BufferedInputStream::fill_finish" ref="13c665ccc722a2544539086846137277" args="(const Glib::RefPtr&lt; AsyncResult &gt; &amp;result)" -->
 
404
<div class="memitem">
 
405
<div class="memproto">
 
406
      <table class="memname">
 
407
        <tr>
 
408
          <td class="memname">gssize Gio::BufferedInputStream::fill_finish           </td>
 
409
          <td>(</td>
 
410
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1AsyncResult.html">AsyncResult</a>&gt;&amp;&nbsp;</td>
 
411
          <td class="paramname"> <em>result</em>          </td>
 
412
          <td>&nbsp;)&nbsp;</td>
 
413
          <td></td>
 
414
        </tr>
 
415
      </table>
 
416
</div>
 
417
<div class="memdoc">
 
418
 
 
419
<p>
 
420
Finishes an asynchronous read. 
 
421
<p>
 
422
<dl compact><dt><b>Parameters:</b></dt><dd>
 
423
  <table border="0" cellspacing="2" cellpadding="0">
 
424
    <tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td>A <a class="el" href="classGio_1_1AsyncResult.html" title="Provides a base class for implementing asynchronous function results.">AsyncResult</a>. </td></tr>
 
425
  </table>
 
426
</dl>
 
427
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A gssize of the read stream, or -1 on an error. </dd></dl>
 
428
 
 
429
</div>
 
430
</div><p>
 
431
<a class="anchor" name="436e3c852afdc67e8ba70d32e39ce6b9"></a><!-- doxytag: member="Gio::BufferedInputStream::get_available" ref="436e3c852afdc67e8ba70d32e39ce6b9" args="() const " -->
 
432
<div class="memitem">
 
433
<div class="memproto">
 
434
      <table class="memname">
 
435
        <tr>
 
436
          <td class="memname">gsize Gio::BufferedInputStream::get_available           </td>
 
437
          <td>(</td>
 
438
          <td class="paramname">          </td>
 
439
          <td>&nbsp;)&nbsp;</td>
 
440
          <td> const</td>
 
441
        </tr>
 
442
      </table>
 
443
</div>
 
444
<div class="memdoc">
 
445
 
 
446
<p>
 
447
Gets the size of the available data within the stream. 
 
448
<p>
 
449
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Size of the available stream. </dd></dl>
 
450
 
 
451
</div>
 
452
</div><p>
319
453
<a class="anchor" name="46384a96dc052e9d25e1a88281d69e40"></a><!-- doxytag: member="Gio::BufferedInputStream::get_buffer_size" ref="46384a96dc052e9d25e1a88281d69e40" args="() const " -->
320
454
<div class="memitem">
321
455
<div class="memproto">
338
472
 
339
473
</div>
340
474
</div><p>
341
 
<a class="anchor" name="f5f861a5b30aadc48e21fb10a46afaa7"></a><!-- doxytag: member="Gio::BufferedInputStream::set_buffer_size" ref="f5f861a5b30aadc48e21fb10a46afaa7" args="(gsize size)" -->
342
 
<div class="memitem">
343
 
<div class="memproto">
344
 
      <table class="memname">
345
 
        <tr>
346
 
          <td class="memname">void Gio::BufferedInputStream::set_buffer_size           </td>
347
 
          <td>(</td>
348
 
          <td class="paramtype">gsize&nbsp;</td>
349
 
          <td class="paramname"> <em>size</em>          </td>
 
475
<a class="anchor" name="d6b09565f69b4c1cf1f0ca05ee53709e"></a><!-- doxytag: member="Gio::BufferedInputStream::gobj" ref="d6b09565f69b4c1cf1f0ca05ee53709e" args="() const " -->
 
476
<div class="memitem">
 
477
<div class="memproto">
 
478
      <table class="memname">
 
479
        <tr>
 
480
          <td class="memname">const GBufferedInputStream* Gio::BufferedInputStream::gobj           </td>
 
481
          <td>(</td>
 
482
          <td class="paramname">          </td>
 
483
          <td>&nbsp;)&nbsp;</td>
 
484
          <td> const<code> [inline]</code></td>
 
485
        </tr>
 
486
      </table>
 
487
</div>
 
488
<div class="memdoc">
 
489
 
 
490
<p>
 
491
Provides access to the underlying C GObject. 
 
492
<p>
 
493
 
 
494
<p>Reimplemented from <a class="el" href="classGio_1_1FilterInputStream.html#c8fbd2cc879bfab4854d952b27ce271c">Gio::FilterInputStream</a>.</p>
 
495
 
 
496
<p>Reimplemented in <a class="el" href="classGio_1_1DataInputStream.html#5d8f01998854eac791a3089acef051c0">Gio::DataInputStream</a>.</p>
 
497
 
 
498
</div>
 
499
</div><p>
 
500
<a class="anchor" name="a9d0c1e643650b9a45831865f06e21be"></a><!-- doxytag: member="Gio::BufferedInputStream::gobj" ref="a9d0c1e643650b9a45831865f06e21be" args="()" -->
 
501
<div class="memitem">
 
502
<div class="memproto">
 
503
      <table class="memname">
 
504
        <tr>
 
505
          <td class="memname">GBufferedInputStream* Gio::BufferedInputStream::gobj           </td>
 
506
          <td>(</td>
 
507
          <td class="paramname">          </td>
 
508
          <td>&nbsp;)&nbsp;</td>
 
509
          <td><code> [inline]</code></td>
 
510
        </tr>
 
511
      </table>
 
512
</div>
 
513
<div class="memdoc">
 
514
 
 
515
<p>
 
516
Provides access to the underlying C GObject. 
 
517
<p>
 
518
 
 
519
<p>Reimplemented from <a class="el" href="classGio_1_1FilterInputStream.html#6db43589745dcd172f4ca4082bc5d914">Gio::FilterInputStream</a>.</p>
 
520
 
 
521
<p>Reimplemented in <a class="el" href="classGio_1_1DataInputStream.html#d788764326462190e900785f50a50740">Gio::DataInputStream</a>.</p>
 
522
 
 
523
</div>
 
524
</div><p>
 
525
<a class="anchor" name="47dc5f78b1faed25cdaaafe42b526d6d"></a><!-- doxytag: member="Gio::BufferedInputStream::gobj_copy" ref="47dc5f78b1faed25cdaaafe42b526d6d" args="()" -->
 
526
<div class="memitem">
 
527
<div class="memproto">
 
528
      <table class="memname">
 
529
        <tr>
 
530
          <td class="memname">GBufferedInputStream* Gio::BufferedInputStream::gobj_copy           </td>
 
531
          <td>(</td>
 
532
          <td class="paramname">          </td>
350
533
          <td>&nbsp;)&nbsp;</td>
351
534
          <td></td>
352
535
        </tr>
355
538
<div class="memdoc">
356
539
 
357
540
<p>
358
 
Sets the size of the internal buffer of <em>stream</em> to <em>size</em>, or to the size of the contents of the buffer. 
359
 
<p>
360
 
The buffer can never be resized smaller than its current contents. <dl compact><dt><b>Parameters:</b></dt><dd>
361
 
  <table border="0" cellspacing="2" cellpadding="0">
362
 
    <tr><td valign="top"></td><td valign="top"><em>size</em>&nbsp;</td><td>A gsize. </td></tr>
363
 
  </table>
364
 
</dl>
365
 
 
366
 
</div>
367
 
</div><p>
368
 
<a class="anchor" name="436e3c852afdc67e8ba70d32e39ce6b9"></a><!-- doxytag: member="Gio::BufferedInputStream::get_available" ref="436e3c852afdc67e8ba70d32e39ce6b9" args="() const " -->
369
 
<div class="memitem">
370
 
<div class="memproto">
371
 
      <table class="memname">
372
 
        <tr>
373
 
          <td class="memname">gsize Gio::BufferedInputStream::get_available           </td>
374
 
          <td>(</td>
375
 
          <td class="paramname">          </td>
376
 
          <td>&nbsp;)&nbsp;</td>
377
 
          <td> const</td>
378
 
        </tr>
379
 
      </table>
380
 
</div>
381
 
<div class="memdoc">
382
 
 
383
 
<p>
384
 
Gets the size of the available data within the stream. 
385
 
<p>
386
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Size of the available stream. </dd></dl>
 
541
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. 
 
542
<p>
 
543
 
 
544
<p>Reimplemented from <a class="el" href="classGio_1_1FilterInputStream.html#55ef3320e423245cc69066c90785328e">Gio::FilterInputStream</a>.</p>
 
545
 
 
546
<p>Reimplemented in <a class="el" href="classGio_1_1DataInputStream.html#8252806b8ac5548c51a0418162ddb6ab">Gio::DataInputStream</a>.</p>
387
547
 
388
548
</div>
389
549
</div><p>
460
620
 
461
621
</div>
462
622
</div><p>
463
 
<a class="anchor" name="197687762599fb7c5b60141b55120cde"></a><!-- doxytag: member="Gio::BufferedInputStream::fill" ref="197687762599fb7c5b60141b55120cde" args="(gssize count, const Glib::RefPtr&lt; Cancellable &gt; &amp;cancellable)" -->
464
 
<div class="memitem">
465
 
<div class="memproto">
466
 
      <table class="memname">
467
 
        <tr>
468
 
          <td class="memname">gssize Gio::BufferedInputStream::fill           </td>
469
 
          <td>(</td>
470
 
          <td class="paramtype">gssize&nbsp;</td>
471
 
          <td class="paramname"> <em>count</em>, </td>
472
 
        </tr>
473
 
        <tr>
474
 
          <td class="paramkey"></td>
475
 
          <td></td>
476
 
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1Cancellable.html">Cancellable</a>&gt;&amp;&nbsp;</td>
477
 
          <td class="paramname"> <em>cancellable</em></td><td>&nbsp;</td>
478
 
        </tr>
479
 
        <tr>
480
 
          <td></td>
481
 
          <td>)</td>
482
 
          <td></td><td></td><td></td>
483
 
        </tr>
484
 
      </table>
485
 
</div>
486
 
<div class="memdoc">
487
 
 
488
 
<p>
489
 
Tries to read <em>count</em> bytes from the stream into the buffer. 
490
 
<p>
491
 
Will block during this read.<p>
492
 
If <em>count</em> is zero, returns zero and does nothing. A value of <em>count</em> larger than MAXSSIZE will cause a <a class="el" href="classGio_1_1Error.html" title="Exception class for giomm errors.">Gio::Error</a> to be thrown, with INVALID_ARGUMENT.<p>
493
 
On success, the number of bytes read into the buffer is returned. It is not an error if this is not the same as the requested size, as it can happen e.g. near the end of a file. Zero is returned on end of file (or if <em>count</em> is zero), but never otherwise.<p>
494
 
The operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, a <a class="el" href="classGio_1_1Error.html" title="Exception class for giomm errors.">Gio::Error</a> will be thrown with CANCELLED. If an operation was partially finished when the operation was cancelled the partial result will be returned, without an error.<p>
495
 
For the asynchronous, non-blocking, version of this function, see g_buffered_input_stream_fill_async(). <dl compact><dt><b>Parameters:</b></dt><dd>
496
 
  <table border="0" cellspacing="2" cellpadding="0">
497
 
    <tr><td valign="top"></td><td valign="top"><em>count</em>&nbsp;</td><td>The number of bytes that will be read from the stream. </td></tr>
498
 
    <tr><td valign="top"></td><td valign="top"><em>cancellable</em>&nbsp;</td><td><a class="el" href="classGio_1_1Cancellable.html" title="Allows actions to be cancelled.">Cancellable</a> object. </td></tr>
499
 
  </table>
500
 
</dl>
501
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The number of bytes read into <em>stream's</em> buffer, up to <em>count</em>, or -1 on error. </dd></dl>
502
 
 
503
 
</div>
504
 
</div><p>
505
 
<a class="anchor" name="271eab4876136b4960d37350738bfdfe"></a><!-- doxytag: member="Gio::BufferedInputStream::fill" ref="271eab4876136b4960d37350738bfdfe" args="(gssize count)" -->
506
 
<div class="memitem">
507
 
<div class="memproto">
508
 
      <table class="memname">
509
 
        <tr>
510
 
          <td class="memname">gssize Gio::BufferedInputStream::fill           </td>
511
 
          <td>(</td>
512
 
          <td class="paramtype">gssize&nbsp;</td>
513
 
          <td class="paramname"> <em>count</em>          </td>
514
 
          <td>&nbsp;)&nbsp;</td>
515
 
          <td></td>
516
 
        </tr>
517
 
      </table>
518
 
</div>
519
 
<div class="memdoc">
520
 
 
521
 
<p>
522
 
non-cancellable version of <a class="el" href="classGio_1_1BufferedInputStream.html#197687762599fb7c5b60141b55120cde" title="Tries to read count bytes from the stream into the buffer.">fill()</a> 
523
 
<p>
524
 
 
525
 
</div>
526
 
</div><p>
527
 
<a class="anchor" name="0a41790e04e9ba500eb18d1ce8371d34"></a><!-- doxytag: member="Gio::BufferedInputStream::fill_async" ref="0a41790e04e9ba500eb18d1ce8371d34" args="(const SlotAsyncReady &amp;slot, gssize count, const Glib::RefPtr&lt; Cancellable &gt; &amp;cancellable, int io_priority=Glib::PRIORITY_DEFAULT)" -->
528
 
<div class="memitem">
529
 
<div class="memproto">
530
 
      <table class="memname">
531
 
        <tr>
532
 
          <td class="memname">void Gio::BufferedInputStream::fill_async           </td>
533
 
          <td>(</td>
534
 
          <td class="paramtype">const <a class="el" href="namespaceGio.html#ecaa02709f9ab83fa2b36d2571665cbe">SlotAsyncReady</a>&amp;&nbsp;</td>
535
 
          <td class="paramname"> <em>slot</em>, </td>
536
 
        </tr>
537
 
        <tr>
538
 
          <td class="paramkey"></td>
539
 
          <td></td>
540
 
          <td class="paramtype">gssize&nbsp;</td>
541
 
          <td class="paramname"> <em>count</em>, </td>
542
 
        </tr>
543
 
        <tr>
544
 
          <td class="paramkey"></td>
545
 
          <td></td>
546
 
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1Cancellable.html">Cancellable</a>&gt;&amp;&nbsp;</td>
547
 
          <td class="paramname"> <em>cancellable</em>, </td>
548
 
        </tr>
549
 
        <tr>
550
 
          <td class="paramkey"></td>
551
 
          <td></td>
552
 
          <td class="paramtype">int&nbsp;</td>
553
 
          <td class="paramname"> <em>io_priority</em> = <code>Glib::PRIORITY_DEFAULT</code></td><td>&nbsp;</td>
554
 
        </tr>
555
 
        <tr>
556
 
          <td></td>
557
 
          <td>)</td>
558
 
          <td></td><td></td><td></td>
559
 
        </tr>
560
 
      </table>
561
 
</div>
562
 
<div class="memdoc">
563
 
 
564
 
<p>
565
 
Reads data into the stream's buffer asynchronously, up to <em>count</em> size. 
566
 
<p>
567
 
<em>io_priority</em> can be used to prioritize reads. For the synchronous version of this function, see <a class="el" href="classGio_1_1BufferedInputStream.html#197687762599fb7c5b60141b55120cde" title="Tries to read count bytes from the stream into the buffer.">fill()</a>.<p>
568
 
<dl compact><dt><b>Parameters:</b></dt><dd>
569
 
  <table border="0" cellspacing="2" cellpadding="0">
570
 
    <tr><td valign="top"></td><td valign="top"><em>slot</em>&nbsp;</td><td>A AsyncReadyCallback. </td></tr>
571
 
    <tr><td valign="top"></td><td valign="top"><em>count</em>&nbsp;</td><td>The number of bytes to read. </td></tr>
572
 
    <tr><td valign="top"></td><td valign="top"><em>cancellable</em>&nbsp;</td><td><a class="el" href="classGio_1_1Cancellable.html" title="Allows actions to be cancelled.">Cancellable</a> object. </td></tr>
573
 
    <tr><td valign="top"></td><td valign="top"><em>io_priority</em>&nbsp;</td><td>the I/O priority of the request. </td></tr>
574
 
  </table>
575
 
</dl>
576
 
 
577
 
</div>
578
 
</div><p>
579
 
<a class="anchor" name="adb9c1b367e36c20c91e16ea840b6ef0"></a><!-- doxytag: member="Gio::BufferedInputStream::fill_async" ref="adb9c1b367e36c20c91e16ea840b6ef0" args="(const SlotAsyncReady &amp;slot, gssize count, int io_priority=Glib::PRIORITY_DEFAULT)" -->
580
 
<div class="memitem">
581
 
<div class="memproto">
582
 
      <table class="memname">
583
 
        <tr>
584
 
          <td class="memname">void Gio::BufferedInputStream::fill_async           </td>
585
 
          <td>(</td>
586
 
          <td class="paramtype">const <a class="el" href="namespaceGio.html#ecaa02709f9ab83fa2b36d2571665cbe">SlotAsyncReady</a>&amp;&nbsp;</td>
587
 
          <td class="paramname"> <em>slot</em>, </td>
588
 
        </tr>
589
 
        <tr>
590
 
          <td class="paramkey"></td>
591
 
          <td></td>
592
 
          <td class="paramtype">gssize&nbsp;</td>
593
 
          <td class="paramname"> <em>count</em>, </td>
594
 
        </tr>
595
 
        <tr>
596
 
          <td class="paramkey"></td>
597
 
          <td></td>
598
 
          <td class="paramtype">int&nbsp;</td>
599
 
          <td class="paramname"> <em>io_priority</em> = <code>Glib::PRIORITY_DEFAULT</code></td><td>&nbsp;</td>
600
 
        </tr>
601
 
        <tr>
602
 
          <td></td>
603
 
          <td>)</td>
604
 
          <td></td><td></td><td></td>
605
 
        </tr>
606
 
      </table>
607
 
</div>
608
 
<div class="memdoc">
609
 
 
610
 
<p>
611
 
Reads data into the stream's buffer asynchronously, up to <em>count</em> size. 
612
 
<p>
613
 
<em>io_priority</em> can be used to prioritize reads. For the synchronous version of this function, see <a class="el" href="classGio_1_1BufferedInputStream.html#197687762599fb7c5b60141b55120cde" title="Tries to read count bytes from the stream into the buffer.">fill()</a>.<p>
614
 
<dl compact><dt><b>Parameters:</b></dt><dd>
615
 
  <table border="0" cellspacing="2" cellpadding="0">
616
 
    <tr><td valign="top"></td><td valign="top"><em>slot</em>&nbsp;</td><td>A AsyncReadyCallback. </td></tr>
617
 
    <tr><td valign="top"></td><td valign="top"><em>count</em>&nbsp;</td><td>The number of bytes to read. </td></tr>
618
 
    <tr><td valign="top"></td><td valign="top"><em>io_priority</em>&nbsp;</td><td>the I/O priority of the request. </td></tr>
619
 
  </table>
620
 
</dl>
621
 
 
622
 
</div>
623
 
</div><p>
624
 
<a class="anchor" name="13c665ccc722a2544539086846137277"></a><!-- doxytag: member="Gio::BufferedInputStream::fill_finish" ref="13c665ccc722a2544539086846137277" args="(const Glib::RefPtr&lt; AsyncResult &gt; &amp;result)" -->
625
 
<div class="memitem">
626
 
<div class="memproto">
627
 
      <table class="memname">
628
 
        <tr>
629
 
          <td class="memname">gssize Gio::BufferedInputStream::fill_finish           </td>
630
 
          <td>(</td>
631
 
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1AsyncResult.html">AsyncResult</a>&gt;&amp;&nbsp;</td>
632
 
          <td class="paramname"> <em>result</em>          </td>
633
 
          <td>&nbsp;)&nbsp;</td>
634
 
          <td></td>
635
 
        </tr>
636
 
      </table>
637
 
</div>
638
 
<div class="memdoc">
639
 
 
640
 
<p>
641
 
Finishes an asynchronous read. 
642
 
<p>
643
 
<dl compact><dt><b>Parameters:</b></dt><dd>
644
 
  <table border="0" cellspacing="2" cellpadding="0">
645
 
    <tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td>A <a class="el" href="classGio_1_1AsyncResult.html" title="Provides a base class for implementing asynchronous function results.">AsyncResult</a>. </td></tr>
646
 
  </table>
647
 
</dl>
648
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A gssize of the read stream, or -1 on an error. </dd></dl>
 
623
<a class="anchor" name="4c14baabc1f6e3baffd38bdfb2797d55"></a><!-- doxytag: member="Gio::BufferedInputStream::property_buffer_size" ref="4c14baabc1f6e3baffd38bdfb2797d55" args="() const " -->
 
624
<div class="memitem">
 
625
<div class="memproto">
 
626
      <table class="memname">
 
627
        <tr>
 
628
          <td class="memname"><a class="el" href="classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;guint&gt; Gio::BufferedInputStream::property_buffer_size           </td>
 
629
          <td>(</td>
 
630
          <td class="paramname">          </td>
 
631
          <td>&nbsp;)&nbsp;</td>
 
632
          <td> const</td>
 
633
        </tr>
 
634
      </table>
 
635
</div>
 
636
<div class="memdoc">
 
637
 
 
638
<p>
 
639
The size of the backend buffer. 
 
640
<p>
 
641
You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>
 
642
 
 
643
</div>
 
644
</div><p>
 
645
<a class="anchor" name="dd79ff7674ee8f29ed4c778d29e4ce91"></a><!-- doxytag: member="Gio::BufferedInputStream::property_buffer_size" ref="dd79ff7674ee8f29ed4c778d29e4ce91" args="()" -->
 
646
<div class="memitem">
 
647
<div class="memproto">
 
648
      <table class="memname">
 
649
        <tr>
 
650
          <td class="memname"><a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;guint&gt; Gio::BufferedInputStream::property_buffer_size           </td>
 
651
          <td>(</td>
 
652
          <td class="paramname">          </td>
 
653
          <td>&nbsp;)&nbsp;</td>
 
654
          <td></td>
 
655
        </tr>
 
656
      </table>
 
657
</div>
 
658
<div class="memdoc">
 
659
 
 
660
<p>
 
661
The size of the backend buffer. 
 
662
<p>
 
663
You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>
 
664
 
 
665
</div>
 
666
</div><p>
 
667
<a class="anchor" name="8741ffb62c82425f54bc5e005c2a238f"></a><!-- doxytag: member="Gio::BufferedInputStream::read_byte" ref="8741ffb62c82425f54bc5e005c2a238f" args="()" -->
 
668
<div class="memitem">
 
669
<div class="memproto">
 
670
      <table class="memname">
 
671
        <tr>
 
672
          <td class="memname">int Gio::BufferedInputStream::read_byte           </td>
 
673
          <td>(</td>
 
674
          <td class="paramname">          </td>
 
675
          <td>&nbsp;)&nbsp;</td>
 
676
          <td></td>
 
677
        </tr>
 
678
      </table>
 
679
</div>
 
680
<div class="memdoc">
 
681
 
 
682
<p>
 
683
Non-cancellable version of <a class="el" href="classGio_1_1BufferedInputStream.html#8741ffb62c82425f54bc5e005c2a238f" title="Non-cancellable version of read_byte().">read_byte()</a>. 
 
684
<p>
 
685
 
 
686
<p>Reimplemented in <a class="el" href="classGio_1_1DataInputStream.html#f4d01aa4e791d403b79db406befcc28e">Gio::DataInputStream</a>.</p>
649
687
 
650
688
</div>
651
689
</div><p>
681
719
 
682
720
</div>
683
721
</div><p>
684
 
<a class="anchor" name="8741ffb62c82425f54bc5e005c2a238f"></a><!-- doxytag: member="Gio::BufferedInputStream::read_byte" ref="8741ffb62c82425f54bc5e005c2a238f" args="()" -->
685
 
<div class="memitem">
686
 
<div class="memproto">
687
 
      <table class="memname">
688
 
        <tr>
689
 
          <td class="memname">int Gio::BufferedInputStream::read_byte           </td>
690
 
          <td>(</td>
691
 
          <td class="paramname">          </td>
692
 
          <td>&nbsp;)&nbsp;</td>
693
 
          <td></td>
694
 
        </tr>
695
 
      </table>
696
 
</div>
697
 
<div class="memdoc">
698
 
 
699
 
<p>
700
 
Non-cancellable version of <a class="el" href="classGio_1_1BufferedInputStream.html#8741ffb62c82425f54bc5e005c2a238f" title="Non-cancellable version of read_byte().">read_byte()</a>. 
701
 
<p>
702
 
 
703
 
<p>Reimplemented in <a class="el" href="classGio_1_1DataInputStream.html#f4d01aa4e791d403b79db406befcc28e">Gio::DataInputStream</a>.</p>
704
 
 
705
 
</div>
706
 
</div><p>
707
 
<a class="anchor" name="dd79ff7674ee8f29ed4c778d29e4ce91"></a><!-- doxytag: member="Gio::BufferedInputStream::property_buffer_size" ref="dd79ff7674ee8f29ed4c778d29e4ce91" args="()" -->
708
 
<div class="memitem">
709
 
<div class="memproto">
710
 
      <table class="memname">
711
 
        <tr>
712
 
          <td class="memname"><a class="el" href="classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;guint&gt; Gio::BufferedInputStream::property_buffer_size           </td>
713
 
          <td>(</td>
714
 
          <td class="paramname">          </td>
715
 
          <td>&nbsp;)&nbsp;</td>
716
 
          <td></td>
717
 
        </tr>
718
 
      </table>
719
 
</div>
720
 
<div class="memdoc">
721
 
 
722
 
<p>
723
 
The size of the backend buffer. 
724
 
<p>
725
 
You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>
726
 
 
727
 
</div>
728
 
</div><p>
729
 
<a class="anchor" name="4c14baabc1f6e3baffd38bdfb2797d55"></a><!-- doxytag: member="Gio::BufferedInputStream::property_buffer_size" ref="4c14baabc1f6e3baffd38bdfb2797d55" args="() const " -->
730
 
<div class="memitem">
731
 
<div class="memproto">
732
 
      <table class="memname">
733
 
        <tr>
734
 
          <td class="memname"><a class="el" href="classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;guint&gt; Gio::BufferedInputStream::property_buffer_size           </td>
735
 
          <td>(</td>
736
 
          <td class="paramname">          </td>
737
 
          <td>&nbsp;)&nbsp;</td>
738
 
          <td> const</td>
739
 
        </tr>
740
 
      </table>
741
 
</div>
742
 
<div class="memdoc">
743
 
 
744
 
<p>
745
 
The size of the backend buffer. 
746
 
<p>
747
 
You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>
 
722
<a class="anchor" name="f5f861a5b30aadc48e21fb10a46afaa7"></a><!-- doxytag: member="Gio::BufferedInputStream::set_buffer_size" ref="f5f861a5b30aadc48e21fb10a46afaa7" args="(gsize size)" -->
 
723
<div class="memitem">
 
724
<div class="memproto">
 
725
      <table class="memname">
 
726
        <tr>
 
727
          <td class="memname">void Gio::BufferedInputStream::set_buffer_size           </td>
 
728
          <td>(</td>
 
729
          <td class="paramtype">gsize&nbsp;</td>
 
730
          <td class="paramname"> <em>size</em>          </td>
 
731
          <td>&nbsp;)&nbsp;</td>
 
732
          <td></td>
 
733
        </tr>
 
734
      </table>
 
735
</div>
 
736
<div class="memdoc">
 
737
 
 
738
<p>
 
739
Sets the size of the internal buffer of <em>stream</em> to <em>size</em>, or to the size of the contents of the buffer. 
 
740
<p>
 
741
The buffer can never be resized smaller than its current contents. <dl compact><dt><b>Parameters:</b></dt><dd>
 
742
  <table border="0" cellspacing="2" cellpadding="0">
 
743
    <tr><td valign="top"></td><td valign="top"><em>size</em>&nbsp;</td><td>A gsize. </td></tr>
 
744
  </table>
 
745
</dl>
748
746
 
749
747
</div>
750
748
</div><p>
794
792
 
795
793
<hr><address><small>
796
794
Generated for glibmm 2.4 by <a href="http://www.doxygen.org/index.html">
797
 
Doxygen</a> 1.5.6 &copy;&nbsp;1997-2001</small></address>
 
795
Doxygen</a> 1.5.8 &copy;&nbsp;1997-2001</small></address>
798
796
</body>
799
797
</html>