~ubuntu-branches/debian/jessie/glib2.0/jessie

« back to all changes in this revision

Viewing changes to docs/reference/gio/html/GBufferedOutputStream.html

  • Committer: Bazaar Package Importer
  • Author(s): Gustavo Noronha Silva
  • Date: 2009-02-15 13:00:43 UTC
  • mfrom: (1.3.1 upstream) (69.1.10 intrepid)
  • Revision ID: james.westby@ubuntu.com-20090215130043-q47fbt3owmt42m2f
Tags: 2.18.4-2
* Release to unstable
* debian/rules:
- bump SHVER, since we are already forcing a 2.18.0 dependecy on the
  symbols introduced in the development versions
* debian/control.in:
- added Homepage and Vcs-* control fields

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
2
<html>
3
3
<head>
4
 
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
 
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>GBufferedOutputStream</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
 
<link rel="start" href="index.html" title="GIO Reference Manual">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
 
7
<link rel="home" href="index.html" title="GIO Reference Manual">
8
8
<link rel="up" href="streaming.html" title="Streaming I/O">
9
9
<link rel="prev" href="GBufferedInputStream.html" title="GBufferedInputStream">
10
10
<link rel="next" href="GDataInputStream.html" title="GDataInputStream">
11
 
<meta name="generator" content="GTK-Doc V1.9 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
 
<link rel="part" href="pt01.html" title="Part&#160;I.&#160;GIO Overview">
 
13
<link rel="part" href="pt01.html" title="Part I. GIO Overview">
14
14
<link rel="chapter" href="ch01.html" title="Introduction">
15
15
<link rel="chapter" href="ch02.html" title="Compiling GIO applications">
16
16
<link rel="chapter" href="ch03.html" title="Running GIO applications">
17
 
<link rel="chapter" href="gio-extension-points.html" title="Extending GIO">
18
 
<link rel="part" href="pt02.html" title="Part&#160;II.&#160;API Reference">
 
17
<link rel="chapter" href="extending-gio.html" title="Extending GIO">
 
18
<link rel="part" href="pt02.html" title="Part II. API Reference">
19
19
<link rel="chapter" href="file_ops.html" title="File Operations">
20
20
<link rel="chapter" href="file_mon.html" title="File System Monitoring">
21
21
<link rel="chapter" href="async.html" title="Asynchronous I/O">
25
25
<link rel="chapter" href="icons.html" title="Icons">
26
26
<link rel="chapter" href="utils.html" title="Utilities">
27
27
<link rel="chapter" href="extending.html" title="Extending GIO">
28
 
<link rel="part" href="migrating.html" title="Part&#160;III.&#160;Migrating to GIO">
 
28
<link rel="part" href="migrating.html" title="Part III. Migrating to GIO">
29
29
<link rel="chapter" href="ch14.html" title="Migrating from POSIX to GIO">
30
30
<link rel="chapter" href="ch15.html" title="Migrating from GnomeVFS to GIO">
31
31
<link rel="chapter" href="gio-hierarchy.html" title="Object Hierarchy">
32
32
<link rel="index" href="ix01.html" title="Index">
 
33
<link rel="index" href="ix02.html" title="Index of new symbols in 2.18">
33
34
</head>
34
35
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
35
36
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
40
41
<th width="100%" align="center">GIO Reference Manual</th>
41
42
<td><a accesskey="n" href="GDataInputStream.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
42
43
</tr>
43
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2791975" class="shortcut">Top</a>
44
 
                  &#160;|&#160;
45
 
                  <a href="#id2859227" class="shortcut">Description</a>
46
 
                  &#160;|&#160;
47
 
                  <a href="#id2859148" class="shortcut">Object Hierarchy</a>
48
 
                  &#160;|&#160;
49
 
                  <a href="#id2859184" class="shortcut">Properties</a></nobr></td></tr>
 
44
<tr><td colspan="5" class="shortcuts">
 
45
<a href="#GBufferedOutputStream.synopsis" class="shortcut">Top</a>
 
46
                 | 
 
47
                <a href="#GBufferedOutputStream.description" class="shortcut">Description</a>
 
48
                 | 
 
49
                <a href="#GBufferedOutputStream.object-hierarchy" class="shortcut">Object Hierarchy</a>
 
50
                 | 
 
51
                <a href="#GBufferedOutputStream.properties" class="shortcut">Properties</a>
 
52
</td></tr>
50
53
</table>
51
54
<div class="refentry" lang="en">
52
55
<a name="GBufferedOutputStream"></a><div class="titlepage"></div>
53
56
<div class="refnamediv"><table width="100%"><tr>
54
57
<td valign="top">
55
 
<h2>
56
 
<a name="id2791975"></a><span class="refentrytitle">GBufferedOutputStream</span>
57
 
</h2>
58
 
<p>GBufferedOutputStream &#8212; Buffered Output Stream</p>
 
58
<h2><span class="refentrytitle"><a name="GBufferedOutputStream.top_of_page"></a>GBufferedOutputStream</span></h2>
 
59
<p>GBufferedOutputStream — Buffered Output Stream</p>
59
60
</td>
60
61
<td valign="top" align="right"></td>
61
62
</tr></table></div>
62
63
<div class="refsynopsisdiv">
63
 
<h2>Synopsis</h2>
 
64
<a name="GBufferedOutputStream.synopsis"></a><h2>Synopsis</h2>
64
65
<pre class="synopsis">
65
66
 
66
67
#include &lt;gio/gio.h&gt;
67
68
 
68
 
 
69
 
                    <a class="link" href="GBufferedOutputStream.html#GBufferedOutputStream-struct">GBufferedOutputStream</a>;
70
 
<a class="link" href="GOutputStream.html" title="GOutputStream">GOutputStream</a>*      <a class="link" href="GBufferedOutputStream.html#g-buffered-output-stream-new">g_buffered_output_stream_new</a>        (<a class="link" href="GOutputStream.html" title="GOutputStream">GOutputStream</a> *base_stream);
71
 
<a class="link" href="GOutputStream.html" title="GOutputStream">GOutputStream</a>*      <a class="link" href="GBufferedOutputStream.html#g-buffered-output-stream-new-sized">g_buffered_output_stream_new_sized</a>  (<a class="link" href="GOutputStream.html" title="GOutputStream">GOutputStream</a> *base_stream,
 
69
                    <a class="link" href="GBufferedOutputStream.html#GBufferedOutputStream-struct" title="GBufferedOutputStream">GBufferedOutputStream</a>;
 
70
<a class="link" href="GOutputStream.html" title="GOutputStream">GOutputStream</a>*      <a class="link" href="GBufferedOutputStream.html#g-buffered-output-stream-new" title="g_buffered_output_stream_new ()">g_buffered_output_stream_new</a>        (<a class="link" href="GOutputStream.html" title="GOutputStream">GOutputStream</a> *base_stream);
 
71
<a class="link" href="GOutputStream.html" title="GOutputStream">GOutputStream</a>*      <a class="link" href="GBufferedOutputStream.html#g-buffered-output-stream-new-sized" title="g_buffered_output_stream_new_sized ()">g_buffered_output_stream_new_sized</a>  (<a class="link" href="GOutputStream.html" title="GOutputStream">GOutputStream</a> *base_stream,
72
72
                                                         <a
73
73
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"
74
74
>gsize</a> size);
75
75
<a
76
76
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"
77
 
>gsize</a>               <a class="link" href="GBufferedOutputStream.html#g-buffered-output-stream-get-buffer-size">g_buffered_output_stream_get_buffer_size</a>
 
77
>gsize</a>               <a class="link" href="GBufferedOutputStream.html#g-buffered-output-stream-get-buffer-size" title="g_buffered_output_stream_get_buffer_size ()">g_buffered_output_stream_get_buffer_size</a>
78
78
                                                        (<a class="link" href="GBufferedOutputStream.html" title="GBufferedOutputStream">GBufferedOutputStream</a> *stream);
79
 
void                <a class="link" href="GBufferedOutputStream.html#g-buffered-output-stream-set-buffer-size">g_buffered_output_stream_set_buffer_size</a>
 
79
void                <a class="link" href="GBufferedOutputStream.html#g-buffered-output-stream-set-buffer-size" title="g_buffered_output_stream_set_buffer_size ()">g_buffered_output_stream_set_buffer_size</a>
80
80
                                                        (<a class="link" href="GBufferedOutputStream.html" title="GBufferedOutputStream">GBufferedOutputStream</a> *stream,
81
81
                                                         <a
82
82
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"
83
83
>gsize</a> size);
84
84
<a
85
85
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
86
 
>gboolean</a>            <a class="link" href="GBufferedOutputStream.html#g-buffered-output-stream-get-auto-grow">g_buffered_output_stream_get_auto_grow</a>
 
86
>gboolean</a>            <a class="link" href="GBufferedOutputStream.html#g-buffered-output-stream-get-auto-grow" title="g_buffered_output_stream_get_auto_grow ()">g_buffered_output_stream_get_auto_grow</a>
87
87
                                                        (<a class="link" href="GBufferedOutputStream.html" title="GBufferedOutputStream">GBufferedOutputStream</a> *stream);
88
 
void                <a class="link" href="GBufferedOutputStream.html#g-buffered-output-stream-set-auto-grow">g_buffered_output_stream_set_auto_grow</a>
 
88
void                <a class="link" href="GBufferedOutputStream.html#g-buffered-output-stream-set-auto-grow" title="g_buffered_output_stream_set_auto_grow ()">g_buffered_output_stream_set_auto_grow</a>
89
89
                                                        (<a class="link" href="GBufferedOutputStream.html" title="GBufferedOutputStream">GBufferedOutputStream</a> *stream,
90
90
                                                         <a
91
91
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
92
92
>gboolean</a> auto_grow);
93
 
 
94
 
 
95
93
</pre>
96
94
</div>
97
95
<div class="refsect1" lang="en">
98
 
<a name="id2859148"></a><h2>Object Hierarchy</h2>
 
96
<a name="GBufferedOutputStream.object-hierarchy"></a><h2>Object Hierarchy</h2>
99
97
<pre class="synopsis">
100
 
 
101
98
  <a
102
99
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
103
100
>GObject</a>
107
104
</pre>
108
105
</div>
109
106
<div class="refsect1" lang="en">
110
 
<a name="id2859184"></a><h2>Properties</h2>
 
107
<a name="GBufferedOutputStream.properties"></a><h2>Properties</h2>
111
108
<pre class="synopsis">
112
 
 
113
 
  "<a class="link" href="GBufferedOutputStream.html#GBufferedOutputStream--auto-grow">auto-grow</a>"                <a
 
109
  "<a class="link" href="GBufferedOutputStream.html#GBufferedOutputStream--auto-grow" title='The "auto-grow" property'>auto-grow</a>"                <a
114
110
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
115
111
>gboolean</a>              : Read / Write
116
 
  "<a class="link" href="GBufferedOutputStream.html#GBufferedOutputStream--buffer-size">buffer-size</a>"              <a
 
112
  "<a class="link" href="GBufferedOutputStream.html#GBufferedOutputStream--buffer-size" title='The "buffer-size" property'>buffer-size</a>"              <a
117
113
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
118
114
>guint</a>                 : Read / Write / Construct
119
115
</pre>
120
116
</div>
121
117
<div class="refsect1" lang="en">
122
 
<a name="id2859227"></a><h2>Description</h2>
 
118
<a name="GBufferedOutputStream.description"></a><h2>Description</h2>
123
119
<p>
124
120
Buffered output stream implements <a class="link" href="GFilterOutputStream.html" title="GFilterOutputStream"><span class="type">GFilterOutputStream</span></a> and provides 
125
121
for buffered writes. 
128
124
By default, <a class="link" href="GBufferedOutputStream.html" title="GBufferedOutputStream"><span class="type">GBufferedOutputStream</span></a>'s buffer size is set at 4 kilobytes.
129
125
</p>
130
126
<p>
131
 
To create a buffered output stream, use <a class="link" href="GBufferedOutputStream.html#g-buffered-output-stream-new"><code class="function">g_buffered_output_stream_new()</code></a>, 
132
 
or <a class="link" href="GBufferedOutputStream.html#g-buffered-output-stream-new-sized"><code class="function">g_buffered_output_stream_new_sized()</code></a> to specify the buffer's size 
 
127
To create a buffered output stream, use <a class="link" href="GBufferedOutputStream.html#g-buffered-output-stream-new" title="g_buffered_output_stream_new ()"><code class="function">g_buffered_output_stream_new()</code></a>, 
 
128
or <a class="link" href="GBufferedOutputStream.html#g-buffered-output-stream-new-sized" title="g_buffered_output_stream_new_sized ()"><code class="function">g_buffered_output_stream_new_sized()</code></a> to specify the buffer's size 
133
129
at construction.
134
130
</p>
135
131
<p>
136
132
To get the size of a buffer within a buffered input stream, use 
137
 
<a class="link" href="GBufferedOutputStream.html#g-buffered-output-stream-get-buffer-size"><code class="function">g_buffered_output_stream_get_buffer_size()</code></a>. To change the size of a 
 
133
<a class="link" href="GBufferedOutputStream.html#g-buffered-output-stream-get-buffer-size" title="g_buffered_output_stream_get_buffer_size ()"><code class="function">g_buffered_output_stream_get_buffer_size()</code></a>. To change the size of a 
138
134
buffered output stream's buffer, use 
139
 
<a class="link" href="GBufferedOutputStream.html#g-buffered-output-stream-set-buffer-size"><code class="function">g_buffered_output_stream_set_buffer_size()</code></a>. Note that the buffer's 
 
135
<a class="link" href="GBufferedOutputStream.html#g-buffered-output-stream-set-buffer-size" title="g_buffered_output_stream_set_buffer_size ()"><code class="function">g_buffered_output_stream_set_buffer_size()</code></a>. Note that the buffer's 
140
136
size cannot be reduced below the size of the data within the buffer.</p>
141
137
<p>
142
 
 
143
138
</p>
144
139
</div>
145
140
<div class="refsect1" lang="en">
146
 
<a name="id2859315"></a><h2>Details</h2>
 
141
<a name="GBufferedOutputStream.details"></a><h2>Details</h2>
147
142
<div class="refsect2" lang="en">
148
 
<a name="id2859326"></a><h3>
149
 
<a name="GBufferedOutputStream-struct"></a>GBufferedOutputStream</h3>
150
 
<a class="indexterm" name="id2859337"></a><pre class="programlisting">typedef struct _GBufferedOutputStream GBufferedOutputStream;</pre>
 
143
<a name="GBufferedOutputStream-struct"></a><h3>GBufferedOutputStream</h3>
 
144
<pre class="programlisting">typedef struct _GBufferedOutputStream GBufferedOutputStream;</pre>
151
145
<p>
152
146
An implementation of <a class="link" href="GFilterOutputStream.html" title="GFilterOutputStream"><span class="type">GFilterOutputStream</span></a> with a sized buffer.</p>
153
147
<p>
154
 
 
155
148
</p>
156
149
<div class="variablelist"><table border="0">
157
150
<col align="left" valign="top">
160
153
</div>
161
154
<hr>
162
155
<div class="refsect2" lang="en">
163
 
<a name="id2859368"></a><h3>
164
 
<a name="g-buffered-output-stream-new"></a>g_buffered_output_stream_new ()</h3>
165
 
<a class="indexterm" name="id2859380"></a><pre class="programlisting"><a class="link" href="GOutputStream.html" title="GOutputStream">GOutputStream</a>*      g_buffered_output_stream_new        (<a class="link" href="GOutputStream.html" title="GOutputStream">GOutputStream</a> *base_stream);</pre>
 
156
<a name="g-buffered-output-stream-new"></a><h3>g_buffered_output_stream_new ()</h3>
 
157
<pre class="programlisting"><a class="link" href="GOutputStream.html" title="GOutputStream">GOutputStream</a>*      g_buffered_output_stream_new        (<a class="link" href="GOutputStream.html" title="GOutputStream">GOutputStream</a> *base_stream);</pre>
166
158
<p>
167
159
Creates a new buffered output stream for a base stream.</p>
168
160
<p>
169
 
 
170
161
</p>
171
162
<div class="variablelist"><table border="0">
172
163
<col align="left" valign="top">
173
164
<tbody>
174
165
<tr>
175
 
<td><p><span class="term"><em class="parameter"><code>base_stream</code></em>&#160;:</span></p></td>
 
166
<td><p><span class="term"><em class="parameter"><code>base_stream</code></em> :</span></p></td>
176
167
<td> a <a class="link" href="GOutputStream.html" title="GOutputStream"><span class="type">GOutputStream</span></a>.
177
168
</td>
178
169
</tr>
179
170
<tr>
180
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
 
171
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
181
172
<td> a <a class="link" href="GOutputStream.html" title="GOutputStream"><span class="type">GOutputStream</span></a> for the given <em class="parameter"><code>base_stream</code></em>.
182
173
</td>
183
174
</tr>
186
177
</div>
187
178
<hr>
188
179
<div class="refsect2" lang="en">
189
 
<a name="id2859462"></a><h3>
190
 
<a name="g-buffered-output-stream-new-sized"></a>g_buffered_output_stream_new_sized ()</h3>
191
 
<a class="indexterm" name="id2859476"></a><pre class="programlisting"><a class="link" href="GOutputStream.html" title="GOutputStream">GOutputStream</a>*      g_buffered_output_stream_new_sized  (<a class="link" href="GOutputStream.html" title="GOutputStream">GOutputStream</a> *base_stream,
 
180
<a name="g-buffered-output-stream-new-sized"></a><h3>g_buffered_output_stream_new_sized ()</h3>
 
181
<pre class="programlisting"><a class="link" href="GOutputStream.html" title="GOutputStream">GOutputStream</a>*      g_buffered_output_stream_new_sized  (<a class="link" href="GOutputStream.html" title="GOutputStream">GOutputStream</a> *base_stream,
192
182
                                                         <a
193
183
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"
194
184
>gsize</a> size);</pre>
195
185
<p>
196
186
Creates a new buffered output stream with a given buffer size.</p>
197
187
<p>
198
 
 
199
188
</p>
200
189
<div class="variablelist"><table border="0">
201
190
<col align="left" valign="top">
202
191
<tbody>
203
192
<tr>
204
 
<td><p><span class="term"><em class="parameter"><code>base_stream</code></em>&#160;:</span></p></td>
 
193
<td><p><span class="term"><em class="parameter"><code>base_stream</code></em> :</span></p></td>
205
194
<td> a <a class="link" href="GOutputStream.html" title="GOutputStream"><span class="type">GOutputStream</span></a>.
206
195
</td>
207
196
</tr>
208
197
<tr>
209
 
<td><p><span class="term"><em class="parameter"><code>size</code></em>&#160;:</span></p></td>
 
198
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
210
199
<td> a <a
211
200
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"
212
201
><span class="type">gsize</span></a>.
213
202
</td>
214
203
</tr>
215
204
<tr>
216
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
 
205
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
217
206
<td> a <a class="link" href="GOutputStream.html" title="GOutputStream"><span class="type">GOutputStream</span></a> with an internal buffer set to <em class="parameter"><code>size</code></em>.
218
207
</td>
219
208
</tr>
222
211
</div>
223
212
<hr>
224
213
<div class="refsect2" lang="en">
225
 
<a name="id2859587"></a><h3>
226
 
<a name="g-buffered-output-stream-get-buffer-size"></a>g_buffered_output_stream_get_buffer_size ()</h3>
227
 
<a class="indexterm" name="id2859600"></a><pre class="programlisting"><a
 
214
<a name="g-buffered-output-stream-get-buffer-size"></a><h3>g_buffered_output_stream_get_buffer_size ()</h3>
 
215
<pre class="programlisting"><a
228
216
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"
229
217
>gsize</a>               g_buffered_output_stream_get_buffer_size
230
218
                                                        (<a class="link" href="GBufferedOutputStream.html" title="GBufferedOutputStream">GBufferedOutputStream</a> *stream);</pre>
231
219
<p>
232
220
Gets the size of the buffer in the <em class="parameter"><code>stream</code></em>.</p>
233
221
<p>
234
 
 
235
222
</p>
236
223
<div class="variablelist"><table border="0">
237
224
<col align="left" valign="top">
238
225
<tbody>
239
226
<tr>
240
 
<td><p><span class="term"><em class="parameter"><code>stream</code></em>&#160;:</span></p></td>
 
227
<td><p><span class="term"><em class="parameter"><code>stream</code></em> :</span></p></td>
241
228
<td> a <a class="link" href="GBufferedOutputStream.html" title="GBufferedOutputStream"><span class="type">GBufferedOutputStream</span></a>.
242
229
</td>
243
230
</tr>
244
231
<tr>
245
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
 
232
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
246
233
<td> the current size of the buffer.
247
234
</td>
248
235
</tr>
251
238
</div>
252
239
<hr>
253
240
<div class="refsect2" lang="en">
254
 
<a name="id2860565"></a><h3>
255
 
<a name="g-buffered-output-stream-set-buffer-size"></a>g_buffered_output_stream_set_buffer_size ()</h3>
256
 
<a class="indexterm" name="id2860577"></a><pre class="programlisting">void                g_buffered_output_stream_set_buffer_size
 
241
<a name="g-buffered-output-stream-set-buffer-size"></a><h3>g_buffered_output_stream_set_buffer_size ()</h3>
 
242
<pre class="programlisting">void                g_buffered_output_stream_set_buffer_size
257
243
                                                        (<a class="link" href="GBufferedOutputStream.html" title="GBufferedOutputStream">GBufferedOutputStream</a> *stream,
258
244
                                                         <a
259
245
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"
261
247
<p>
262
248
Sets the size of the internal buffer to <em class="parameter"><code>size</code></em>.</p>
263
249
<p>
264
 
 
265
250
</p>
266
251
<div class="variablelist"><table border="0">
267
252
<col align="left" valign="top">
268
253
<tbody>
269
254
<tr>
270
 
<td><p><span class="term"><em class="parameter"><code>stream</code></em>&#160;:</span></p></td>
 
255
<td><p><span class="term"><em class="parameter"><code>stream</code></em> :</span></p></td>
271
256
<td> a <a class="link" href="GBufferedOutputStream.html" title="GBufferedOutputStream"><span class="type">GBufferedOutputStream</span></a>.
272
257
</td>
273
258
</tr>
274
259
<tr>
275
 
<td><p><span class="term"><em class="parameter"><code>size</code></em>&#160;:</span></p></td>
 
260
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
276
261
<td> a <a
277
262
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"
278
263
><span class="type">gsize</span></a>.
283
268
</div>
284
269
<hr>
285
270
<div class="refsect2" lang="en">
286
 
<a name="id2860669"></a><h3>
287
 
<a name="g-buffered-output-stream-get-auto-grow"></a>g_buffered_output_stream_get_auto_grow ()</h3>
288
 
<a class="indexterm" name="id2860683"></a><pre class="programlisting"><a
 
271
<a name="g-buffered-output-stream-get-auto-grow"></a><h3>g_buffered_output_stream_get_auto_grow ()</h3>
 
272
<pre class="programlisting"><a
289
273
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
290
274
>gboolean</a>            g_buffered_output_stream_get_auto_grow
291
275
                                                        (<a class="link" href="GBufferedOutputStream.html" title="GBufferedOutputStream">GBufferedOutputStream</a> *stream);</pre>
292
276
<p>
293
277
Checks if the buffer automatically grows as data is added.</p>
294
278
<p>
295
 
 
296
279
</p>
297
280
<div class="variablelist"><table border="0">
298
281
<col align="left" valign="top">
299
282
<tbody>
300
283
<tr>
301
 
<td><p><span class="term"><em class="parameter"><code>stream</code></em>&#160;:</span></p></td>
 
284
<td><p><span class="term"><em class="parameter"><code>stream</code></em> :</span></p></td>
302
285
<td> a <a class="link" href="GBufferedOutputStream.html" title="GBufferedOutputStream"><span class="type">GBufferedOutputStream</span></a>.
303
286
</td>
304
287
</tr>
305
288
<tr>
306
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
 
289
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
307
290
<td> <a
308
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
 
291
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
309
292
><code class="literal">TRUE</code></a> if the <em class="parameter"><code>stream</code></em>'s buffer automatically grows,
310
293
<a
311
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
 
294
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE--CAPS"
312
295
><code class="literal">FALSE</code></a> otherwise.
313
296
</td>
314
297
</tr>
317
300
</div>
318
301
<hr>
319
302
<div class="refsect2" lang="en">
320
 
<a name="id2860777"></a><h3>
321
 
<a name="g-buffered-output-stream-set-auto-grow"></a>g_buffered_output_stream_set_auto_grow ()</h3>
322
 
<a class="indexterm" name="id2860790"></a><pre class="programlisting">void                g_buffered_output_stream_set_auto_grow
 
303
<a name="g-buffered-output-stream-set-auto-grow"></a><h3>g_buffered_output_stream_set_auto_grow ()</h3>
 
304
<pre class="programlisting">void                g_buffered_output_stream_set_auto_grow
323
305
                                                        (<a class="link" href="GBufferedOutputStream.html" title="GBufferedOutputStream">GBufferedOutputStream</a> *stream,
324
306
                                                         <a
325
307
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
330
312
larger, and you must manually flush the buffer to actually write out
331
313
the data to the underlying stream.</p>
332
314
<p>
333
 
 
334
315
</p>
335
316
<div class="variablelist"><table border="0">
336
317
<col align="left" valign="top">
337
318
<tbody>
338
319
<tr>
339
 
<td><p><span class="term"><em class="parameter"><code>stream</code></em>&#160;:</span></p></td>
 
320
<td><p><span class="term"><em class="parameter"><code>stream</code></em> :</span></p></td>
340
321
<td> a <a class="link" href="GBufferedOutputStream.html" title="GBufferedOutputStream"><span class="type">GBufferedOutputStream</span></a>.
341
322
</td>
342
323
</tr>
343
324
<tr>
344
 
<td><p><span class="term"><em class="parameter"><code>auto_grow</code></em>&#160;:</span></p></td>
 
325
<td><p><span class="term"><em class="parameter"><code>auto_grow</code></em> :</span></p></td>
345
326
<td> a <a
346
327
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
347
328
><span class="type">gboolean</span></a>.
352
333
</div>
353
334
</div>
354
335
<div class="refsect1" lang="en">
355
 
<a name="id2860892"></a><h2>Property Details</h2>
 
336
<a name="GBufferedOutputStream.property-details"></a><h2>Property Details</h2>
356
337
<div class="refsect2" lang="en">
357
 
<a name="id2860903"></a><h3>
358
 
<a name="GBufferedOutputStream--auto-grow"></a>The <code class="literal">"auto-grow"</code> property</h3>
359
 
<a class="indexterm" name="id2860919"></a><pre class="programlisting">  "auto-grow"                <a
 
338
<a name="GBufferedOutputStream--auto-grow"></a><h3>The <code class="literal">"auto-grow"</code> property</h3>
 
339
<pre class="programlisting">  "auto-grow"                <a
360
340
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
361
341
>gboolean</a>              : Read / Write</pre>
362
342
<p>Whether the buffer should automatically grow.</p>
364
344
</div>
365
345
<hr>
366
346
<div class="refsect2" lang="en">
367
 
<a name="id2860945"></a><h3>
368
 
<a name="GBufferedOutputStream--buffer-size"></a>The <code class="literal">"buffer-size"</code> property</h3>
369
 
<a class="indexterm" name="id2860961"></a><pre class="programlisting">  "buffer-size"              <a
 
347
<a name="GBufferedOutputStream--buffer-size"></a><h3>The <code class="literal">"buffer-size"</code> property</h3>
 
348
<pre class="programlisting">  "buffer-size"              <a
370
349
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
371
350
>guint</a>                 : Read / Write / Construct</pre>
372
351
<p>The size of the backend buffer.</p>
375
354
</div>
376
355
</div>
377
356
<div class="refsect1" lang="en">
378
 
<a name="id2860992"></a><h2>See Also</h2>
379
 
<a class="link" href="GFilterOutputStream.html" title="GFilterOutputStream"><span class="type">GFilterOutputStream</span></a>, <a class="link" href="GOutputStream.html" title="GOutputStream"><span class="type">GOutputStream</span></a>
380
 
</div>
381
 
<div class="refsect1" lang="en">
382
 
<a name="id2861014"></a><div class="refsect2" lang="en"><a name="id2861015"></a></div>
 
357
<a name="GBufferedOutputStream.see-also"></a><h2>See Also</h2>
 
358
#GFilterOutputStream, <a class="link" href="GOutputStream.html" title="GOutputStream"><span class="type">GOutputStream</span></a>
 
359
</div>
 
360
</div>
 
361
<div class="footer">
383
362
<hr>
384
 
<div class="refsect2" lang="en"><a name="id2861016"></a></div>
385
 
</div>
386
 
</div>
 
363
          Generated by GTK-Doc V1.11</div>
387
364
</body>
388
365
</html>