This file is indexed.

/usr/share/doc/libjuce/apiref/classFileOutputStream.html is in libjuce-doc 4.3.0~repack-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JUCE: FileOutputStream Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JUCE
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classFileOutputStream-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">FileOutputStream Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>An output stream that writes into a local file.  
 <a href="classFileOutputStream.html#details">More...</a></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for FileOutputStream:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
 <div class="center">
  <img src="classFileOutputStream.png" usemap="#FileOutputStream_map" alt=""/>
  <map id="FileOutputStream_map" name="FileOutputStream_map">
<area href="classOutputStream.html" title="The base class for streams that write data to some kind of destination. " alt="OutputStream" shape="rect" coords="0,0,109,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ab324bca74c6f7cc5c9180302daa7497f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFileOutputStream.html#ab324bca74c6f7cc5c9180302daa7497f">FileOutputStream</a> (const <a class="el" href="classFile.html">File</a> &amp;fileToWriteTo, size_t bufferSizeToUse=16384)</td></tr>
<tr class="memdesc:ab324bca74c6f7cc5c9180302daa7497f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classFileOutputStream.html" title="An output stream that writes into a local file. ">FileOutputStream</a>.  <a href="#ab324bca74c6f7cc5c9180302daa7497f">More...</a><br /></td></tr>
<tr class="separator:ab324bca74c6f7cc5c9180302daa7497f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0423041bf20194144689440ed94ade3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFileOutputStream.html#aa0423041bf20194144689440ed94ade3">~FileOutputStream</a> ()</td></tr>
<tr class="memdesc:aa0423041bf20194144689440ed94ade3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#aa0423041bf20194144689440ed94ade3">More...</a><br /></td></tr>
<tr class="separator:aa0423041bf20194144689440ed94ade3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45466779f5c1231ef9a5cf0a5bf5b98f"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classFile.html">File</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFileOutputStream.html#a45466779f5c1231ef9a5cf0a5bf5b98f">getFile</a> () const</td></tr>
<tr class="memdesc:a45466779f5c1231ef9a5cf0a5bf5b98f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the file that this stream is writing to.  <a href="#a45466779f5c1231ef9a5cf0a5bf5b98f">More...</a><br /></td></tr>
<tr class="separator:a45466779f5c1231ef9a5cf0a5bf5b98f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a042b69b37a81a6e51bb5f45b18cce067"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classResult.html">Result</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFileOutputStream.html#a042b69b37a81a6e51bb5f45b18cce067">getStatus</a> () const noexcept</td></tr>
<tr class="memdesc:a042b69b37a81a6e51bb5f45b18cce067"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the status of the file stream.  <a href="#a042b69b37a81a6e51bb5f45b18cce067">More...</a><br /></td></tr>
<tr class="separator:a042b69b37a81a6e51bb5f45b18cce067"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a616887c2791a85e35f00b6e38436d4be"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFileOutputStream.html#a616887c2791a85e35f00b6e38436d4be">failedToOpen</a> () const noexcept</td></tr>
<tr class="memdesc:a616887c2791a85e35f00b6e38436d4be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the stream couldn't be opened for some reason.  <a href="#a616887c2791a85e35f00b6e38436d4be">More...</a><br /></td></tr>
<tr class="separator:a616887c2791a85e35f00b6e38436d4be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b0c2bc1b12469f38d4a2929711b66d9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFileOutputStream.html#a5b0c2bc1b12469f38d4a2929711b66d9">openedOk</a> () const noexcept</td></tr>
<tr class="memdesc:a5b0c2bc1b12469f38d4a2929711b66d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the stream opened without problems.  <a href="#a5b0c2bc1b12469f38d4a2929711b66d9">More...</a><br /></td></tr>
<tr class="separator:a5b0c2bc1b12469f38d4a2929711b66d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a663c7e264306c74ed58f2639acec5797"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classResult.html">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFileOutputStream.html#a663c7e264306c74ed58f2639acec5797">truncate</a> ()</td></tr>
<tr class="memdesc:a663c7e264306c74ed58f2639acec5797"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attempts to truncate the file to the current write position.  <a href="#a663c7e264306c74ed58f2639acec5797">More...</a><br /></td></tr>
<tr class="separator:a663c7e264306c74ed58f2639acec5797"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc63785b8744278d51814c4892207414"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFileOutputStream.html#afc63785b8744278d51814c4892207414">flush</a> () override</td></tr>
<tr class="memdesc:afc63785b8744278d51814c4892207414"><td class="mdescLeft">&#160;</td><td class="mdescRight">If the stream is using a buffer, this will ensure it gets written out to the destination.  <a href="#afc63785b8744278d51814c4892207414">More...</a><br /></td></tr>
<tr class="separator:afc63785b8744278d51814c4892207414"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9c8bd54d832a6739a9a4af57f4b8254"><td class="memItemLeft" align="right" valign="top"><a class="el" href="juce__MathsFunctions_8h.html#aecfc3c54bd29ad5964e1c1c3ccbf89df">int64</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFileOutputStream.html#ad9c8bd54d832a6739a9a4af57f4b8254">getPosition</a> () override</td></tr>
<tr class="memdesc:ad9c8bd54d832a6739a9a4af57f4b8254"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the stream's current position.  <a href="#ad9c8bd54d832a6739a9a4af57f4b8254">More...</a><br /></td></tr>
<tr class="separator:ad9c8bd54d832a6739a9a4af57f4b8254"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfaac72947e3a9bf5bf99669d253219f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFileOutputStream.html#adfaac72947e3a9bf5bf99669d253219f">setPosition</a> (<a class="el" href="juce__MathsFunctions_8h.html#aecfc3c54bd29ad5964e1c1c3ccbf89df">int64</a>) override</td></tr>
<tr class="memdesc:adfaac72947e3a9bf5bf99669d253219f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tries to move the stream's output position.  <a href="#adfaac72947e3a9bf5bf99669d253219f">More...</a><br /></td></tr>
<tr class="separator:adfaac72947e3a9bf5bf99669d253219f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2028e7cfc77d246d160f316db61f60f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFileOutputStream.html#ae2028e7cfc77d246d160f316db61f60f">write</a> (const void *, size_t) override</td></tr>
<tr class="memdesc:ae2028e7cfc77d246d160f316db61f60f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a block of data to the stream.  <a href="#ae2028e7cfc77d246d160f316db61f60f">More...</a><br /></td></tr>
<tr class="separator:ae2028e7cfc77d246d160f316db61f60f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b8d8a24b6e3eb021a5cb333c22a5de8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFileOutputStream.html#a8b8d8a24b6e3eb021a5cb333c22a5de8">writeRepeatedByte</a> (<a class="el" href="juce__MathsFunctions_8h.html#adde6aaee8457bee49c2a92621fe22b79">uint8</a> byte, size_t numTimesToRepeat) override</td></tr>
<tr class="memdesc:a8b8d8a24b6e3eb021a5cb333c22a5de8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a byte to the output stream a given number of times.  <a href="#a8b8d8a24b6e3eb021a5cb333c22a5de8">More...</a><br /></td></tr>
<tr class="separator:a8b8d8a24b6e3eb021a5cb333c22a5de8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classOutputStream"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classOutputStream')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classOutputStream.html">OutputStream</a></td></tr>
<tr class="memitem:a3c3286bd6c6c8fb6b16ce7f88745075b inherit pub_methods_classOutputStream"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOutputStream.html#a3c3286bd6c6c8fb6b16ce7f88745075b">~OutputStream</a> ()</td></tr>
<tr class="memdesc:a3c3286bd6c6c8fb6b16ce7f88745075b inherit pub_methods_classOutputStream"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="classOutputStream.html#a3c3286bd6c6c8fb6b16ce7f88745075b">More...</a><br /></td></tr>
<tr class="separator:a3c3286bd6c6c8fb6b16ce7f88745075b inherit pub_methods_classOutputStream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa3aee845d1cd8db87533313c12c0963 inherit pub_methods_classOutputStream"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOutputStream.html#aaa3aee845d1cd8db87533313c12c0963">writeByte</a> (char byte)</td></tr>
<tr class="memdesc:aaa3aee845d1cd8db87533313c12c0963 inherit pub_methods_classOutputStream"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a single byte to the stream.  <a href="classOutputStream.html#aaa3aee845d1cd8db87533313c12c0963">More...</a><br /></td></tr>
<tr class="separator:aaa3aee845d1cd8db87533313c12c0963 inherit pub_methods_classOutputStream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac4bd355924dfb91aa71aa5c6c251924 inherit pub_methods_classOutputStream"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOutputStream.html#aac4bd355924dfb91aa71aa5c6c251924">writeBool</a> (bool boolValue)</td></tr>
<tr class="memdesc:aac4bd355924dfb91aa71aa5c6c251924 inherit pub_methods_classOutputStream"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a boolean to the stream as a single byte.  <a href="classOutputStream.html#aac4bd355924dfb91aa71aa5c6c251924">More...</a><br /></td></tr>
<tr class="separator:aac4bd355924dfb91aa71aa5c6c251924 inherit pub_methods_classOutputStream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0c31878ffe72db678ad2df92f977b79 inherit pub_methods_classOutputStream"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOutputStream.html#aa0c31878ffe72db678ad2df92f977b79">writeShort</a> (short value)</td></tr>
<tr class="memdesc:aa0c31878ffe72db678ad2df92f977b79 inherit pub_methods_classOutputStream"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a 16-bit integer to the stream in a little-endian byte order.  <a href="classOutputStream.html#aa0c31878ffe72db678ad2df92f977b79">More...</a><br /></td></tr>
<tr class="separator:aa0c31878ffe72db678ad2df92f977b79 inherit pub_methods_classOutputStream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f5dec34d9771edea9c0535eb5b58860 inherit pub_methods_classOutputStream"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOutputStream.html#a2f5dec34d9771edea9c0535eb5b58860">writeShortBigEndian</a> (short value)</td></tr>
<tr class="memdesc:a2f5dec34d9771edea9c0535eb5b58860 inherit pub_methods_classOutputStream"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a 16-bit integer to the stream in a big-endian byte order.  <a href="classOutputStream.html#a2f5dec34d9771edea9c0535eb5b58860">More...</a><br /></td></tr>
<tr class="separator:a2f5dec34d9771edea9c0535eb5b58860 inherit pub_methods_classOutputStream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75f455e1a6e4da9190cd77bc01657622 inherit pub_methods_classOutputStream"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOutputStream.html#a75f455e1a6e4da9190cd77bc01657622">writeInt</a> (int value)</td></tr>
<tr class="memdesc:a75f455e1a6e4da9190cd77bc01657622 inherit pub_methods_classOutputStream"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a 32-bit integer to the stream in a little-endian byte order.  <a href="classOutputStream.html#a75f455e1a6e4da9190cd77bc01657622">More...</a><br /></td></tr>
<tr class="separator:a75f455e1a6e4da9190cd77bc01657622 inherit pub_methods_classOutputStream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac42573016fc3f343dc9692d55d455f1b inherit pub_methods_classOutputStream"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOutputStream.html#ac42573016fc3f343dc9692d55d455f1b">writeIntBigEndian</a> (int value)</td></tr>
<tr class="memdesc:ac42573016fc3f343dc9692d55d455f1b inherit pub_methods_classOutputStream"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a 32-bit integer to the stream in a big-endian byte order.  <a href="classOutputStream.html#ac42573016fc3f343dc9692d55d455f1b">More...</a><br /></td></tr>
<tr class="separator:ac42573016fc3f343dc9692d55d455f1b inherit pub_methods_classOutputStream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a078351d61263e8e8141ccde1a0c07816 inherit pub_methods_classOutputStream"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOutputStream.html#a078351d61263e8e8141ccde1a0c07816">writeInt64</a> (<a class="el" href="juce__MathsFunctions_8h.html#aecfc3c54bd29ad5964e1c1c3ccbf89df">int64</a> value)</td></tr>
<tr class="memdesc:a078351d61263e8e8141ccde1a0c07816 inherit pub_methods_classOutputStream"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a 64-bit integer to the stream in a little-endian byte order.  <a href="classOutputStream.html#a078351d61263e8e8141ccde1a0c07816">More...</a><br /></td></tr>
<tr class="separator:a078351d61263e8e8141ccde1a0c07816 inherit pub_methods_classOutputStream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5962dcaca71153338180ef0c17e11152 inherit pub_methods_classOutputStream"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOutputStream.html#a5962dcaca71153338180ef0c17e11152">writeInt64BigEndian</a> (<a class="el" href="juce__MathsFunctions_8h.html#aecfc3c54bd29ad5964e1c1c3ccbf89df">int64</a> value)</td></tr>
<tr class="memdesc:a5962dcaca71153338180ef0c17e11152 inherit pub_methods_classOutputStream"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a 64-bit integer to the stream in a big-endian byte order.  <a href="classOutputStream.html#a5962dcaca71153338180ef0c17e11152">More...</a><br /></td></tr>
<tr class="separator:a5962dcaca71153338180ef0c17e11152 inherit pub_methods_classOutputStream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a1d967388deb957e573a8bfa0aede56 inherit pub_methods_classOutputStream"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOutputStream.html#a0a1d967388deb957e573a8bfa0aede56">writeFloat</a> (float value)</td></tr>
<tr class="memdesc:a0a1d967388deb957e573a8bfa0aede56 inherit pub_methods_classOutputStream"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a 32-bit floating point value to the stream in a binary format.  <a href="classOutputStream.html#a0a1d967388deb957e573a8bfa0aede56">More...</a><br /></td></tr>
<tr class="separator:a0a1d967388deb957e573a8bfa0aede56 inherit pub_methods_classOutputStream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84cb925582b87dc5c1f5e6d569a74208 inherit pub_methods_classOutputStream"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOutputStream.html#a84cb925582b87dc5c1f5e6d569a74208">writeFloatBigEndian</a> (float value)</td></tr>
<tr class="memdesc:a84cb925582b87dc5c1f5e6d569a74208 inherit pub_methods_classOutputStream"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a 32-bit floating point value to the stream in a binary format.  <a href="classOutputStream.html#a84cb925582b87dc5c1f5e6d569a74208">More...</a><br /></td></tr>
<tr class="separator:a84cb925582b87dc5c1f5e6d569a74208 inherit pub_methods_classOutputStream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af48e3b3934bf5b4624dcbe00989581a0 inherit pub_methods_classOutputStream"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOutputStream.html#af48e3b3934bf5b4624dcbe00989581a0">writeDouble</a> (double value)</td></tr>
<tr class="memdesc:af48e3b3934bf5b4624dcbe00989581a0 inherit pub_methods_classOutputStream"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a 64-bit floating point value to the stream in a binary format.  <a href="classOutputStream.html#af48e3b3934bf5b4624dcbe00989581a0">More...</a><br /></td></tr>
<tr class="separator:af48e3b3934bf5b4624dcbe00989581a0 inherit pub_methods_classOutputStream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03a42d49d4a1aba31b38a2069cbe18b0 inherit pub_methods_classOutputStream"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOutputStream.html#a03a42d49d4a1aba31b38a2069cbe18b0">writeDoubleBigEndian</a> (double value)</td></tr>
<tr class="memdesc:a03a42d49d4a1aba31b38a2069cbe18b0 inherit pub_methods_classOutputStream"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a 64-bit floating point value to the stream in a binary format.  <a href="classOutputStream.html#a03a42d49d4a1aba31b38a2069cbe18b0">More...</a><br /></td></tr>
<tr class="separator:a03a42d49d4a1aba31b38a2069cbe18b0 inherit pub_methods_classOutputStream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac01d789588295c52ce4034bf792d9b20 inherit pub_methods_classOutputStream"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOutputStream.html#ac01d789588295c52ce4034bf792d9b20">writeCompressedInt</a> (int value)</td></tr>
<tr class="memdesc:ac01d789588295c52ce4034bf792d9b20 inherit pub_methods_classOutputStream"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a condensed binary encoding of a 32-bit integer.  <a href="classOutputStream.html#ac01d789588295c52ce4034bf792d9b20">More...</a><br /></td></tr>
<tr class="separator:ac01d789588295c52ce4034bf792d9b20 inherit pub_methods_classOutputStream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63a79aac70bc3ad976cd3fb3a6d57ffd inherit pub_methods_classOutputStream"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOutputStream.html#a63a79aac70bc3ad976cd3fb3a6d57ffd">writeString</a> (const <a class="el" href="classString.html">String</a> &amp;text)</td></tr>
<tr class="memdesc:a63a79aac70bc3ad976cd3fb3a6d57ffd inherit pub_methods_classOutputStream"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stores a string in the stream in a binary format.  <a href="classOutputStream.html#a63a79aac70bc3ad976cd3fb3a6d57ffd">More...</a><br /></td></tr>
<tr class="separator:a63a79aac70bc3ad976cd3fb3a6d57ffd inherit pub_methods_classOutputStream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94dd75c2e93c3ae9239e2d9479586876 inherit pub_methods_classOutputStream"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOutputStream.html#a94dd75c2e93c3ae9239e2d9479586876">writeText</a> (const <a class="el" href="classString.html">String</a> &amp;text, bool asUTF16, bool writeUTF16ByteOrderMark)</td></tr>
<tr class="memdesc:a94dd75c2e93c3ae9239e2d9479586876 inherit pub_methods_classOutputStream"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a string of text to the stream.  <a href="classOutputStream.html#a94dd75c2e93c3ae9239e2d9479586876">More...</a><br /></td></tr>
<tr class="separator:a94dd75c2e93c3ae9239e2d9479586876 inherit pub_methods_classOutputStream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f80423e8a780f4124d9b7910d712cb1 inherit pub_methods_classOutputStream"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="juce__MathsFunctions_8h.html#aecfc3c54bd29ad5964e1c1c3ccbf89df">int64</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOutputStream.html#a9f80423e8a780f4124d9b7910d712cb1">writeFromInputStream</a> (<a class="el" href="classInputStream.html">InputStream</a> &amp;source, <a class="el" href="juce__MathsFunctions_8h.html#aecfc3c54bd29ad5964e1c1c3ccbf89df">int64</a> maxNumBytesToWrite)</td></tr>
<tr class="memdesc:a9f80423e8a780f4124d9b7910d712cb1 inherit pub_methods_classOutputStream"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads data from an input stream and writes it to this stream.  <a href="classOutputStream.html#a9f80423e8a780f4124d9b7910d712cb1">More...</a><br /></td></tr>
<tr class="separator:a9f80423e8a780f4124d9b7910d712cb1 inherit pub_methods_classOutputStream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3cd9133af8d3e6a04b8c983290649909 inherit pub_methods_classOutputStream"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOutputStream.html#a3cd9133af8d3e6a04b8c983290649909">setNewLineString</a> (const <a class="el" href="classString.html">String</a> &amp;newLineString)</td></tr>
<tr class="memdesc:a3cd9133af8d3e6a04b8c983290649909 inherit pub_methods_classOutputStream"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the string that will be written to the stream when the writeNewLine() method is called.  <a href="classOutputStream.html#a3cd9133af8d3e6a04b8c983290649909">More...</a><br /></td></tr>
<tr class="separator:a3cd9133af8d3e6a04b8c983290649909 inherit pub_methods_classOutputStream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ca663ec96b69491053385b6c26e6572 inherit pub_methods_classOutputStream"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classString.html">String</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOutputStream.html#a9ca663ec96b69491053385b6c26e6572">getNewLineString</a> () const noexcept</td></tr>
<tr class="memdesc:a9ca663ec96b69491053385b6c26e6572 inherit pub_methods_classOutputStream"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current new-line string that was set by <a class="el" href="classOutputStream.html#a3cd9133af8d3e6a04b8c983290649909" title="Sets the string that will be written to the stream when the writeNewLine() method is called...">setNewLineString()</a>.  <a href="classOutputStream.html#a9ca663ec96b69491053385b6c26e6572">More...</a><br /></td></tr>
<tr class="separator:a9ca663ec96b69491053385b6c26e6572 inherit pub_methods_classOutputStream"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classOutputStream"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classOutputStream')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classOutputStream.html">OutputStream</a></td></tr>
<tr class="memitem:a1159b7032e052493fdec603a3deeff70 inherit pro_methods_classOutputStream"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOutputStream.html#a1159b7032e052493fdec603a3deeff70">OutputStream</a> ()</td></tr>
<tr class="separator:a1159b7032e052493fdec603a3deeff70 inherit pro_methods_classOutputStream"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>An output stream that writes into a local file. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classOutputStream.html" title="The base class for streams that write data to some kind of destination. ">OutputStream</a>, <a class="el" href="classFileInputStream.html" title="An input stream that reads from a local file. ">FileInputStream</a>, <a class="el" href="classFile.html#ac8db7b5cd2ccde94b1299da3bfd11d46" title="Creates a stream to write to this file. ">File::createOutputStream</a> </dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ab324bca74c6f7cc5c9180302daa7497f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab324bca74c6f7cc5c9180302daa7497f">&sect;&nbsp;</a></span>FileOutputStream()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">FileOutputStream::FileOutputStream </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classFile.html">File</a> &amp;&#160;</td>
          <td class="paramname"><em>fileToWriteTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>bufferSizeToUse</em> = <code>16384</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a <a class="el" href="classFileOutputStream.html" title="An output stream that writes into a local file. ">FileOutputStream</a>. </p>
<p>If the file doesn't exist, it will first be created. If the file can't be created or opened, the <a class="el" href="classFileOutputStream.html#a616887c2791a85e35f00b6e38436d4be" title="Returns true if the stream couldn&#39;t be opened for some reason. ">failedToOpen()</a> method will return true.</p>
<p>If the file already exists when opened, the stream's write-postion will be set to the end of the file. To overwrite an existing file, use <a class="el" href="classFile.html#adc64f67a869db306afd65a67758e5a3e" title="Deletes a file. ">File::deleteFile()</a> before opening the stream, or use setPosition(0) after it's opened (although this won't truncate the file).</p>
<p>Destroying a <a class="el" href="classFileOutputStream.html" title="An output stream that writes into a local file. ">FileOutputStream</a> object does not force the operating system to write the buffered data to disk immediately. If this is required you should call <a class="el" href="classFileOutputStream.html#afc63785b8744278d51814c4892207414" title="If the stream is using a buffer, this will ensure it gets written out to the destination. ">flush()</a> before triggering the destructor.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classTemporaryFile.html" title="Manages a temporary file, which will be deleted when this object is deleted. ">TemporaryFile</a> </dd></dl>

</div>
</div>
<a id="aa0423041bf20194144689440ed94ade3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0423041bf20194144689440ed94ade3">&sect;&nbsp;</a></span>~FileOutputStream()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">FileOutputStream::~FileOutputStream </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Destructor. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a45466779f5c1231ef9a5cf0a5bf5b98f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a45466779f5c1231ef9a5cf0a5bf5b98f">&sect;&nbsp;</a></span>getFile()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classFile.html">File</a>&amp; FileOutputStream::getFile </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the file that this stream is writing to. </p>

</div>
</div>
<a id="a042b69b37a81a6e51bb5f45b18cce067"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a042b69b37a81a6e51bb5f45b18cce067">&sect;&nbsp;</a></span>getStatus()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classResult.html">Result</a>&amp; FileOutputStream::getStatus </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the status of the file stream. </p>
<p>The result will be ok if the file opened successfully. If an error occurs while opening or writing to the file, this will contain an error message. </p>

</div>
</div>
<a id="a616887c2791a85e35f00b6e38436d4be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a616887c2791a85e35f00b6e38436d4be">&sect;&nbsp;</a></span>failedToOpen()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool FileOutputStream::failedToOpen </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns true if the stream couldn't be opened for some reason. </p>
<dl class="section see"><dt>See also</dt><dd>getResult() </dd></dl>

</div>
</div>
<a id="a5b0c2bc1b12469f38d4a2929711b66d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b0c2bc1b12469f38d4a2929711b66d9">&sect;&nbsp;</a></span>openedOk()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool FileOutputStream::openedOk </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns true if the stream opened without problems. </p>
<dl class="section see"><dt>See also</dt><dd>getResult() </dd></dl>

<p>References <a class="el" href="classOutputStream.html#a2b731aef87084c3779bea292f85e800d">OutputStream::flush()</a>, <a class="el" href="classOutputStream.html#a84ec99ccacf0326e79070d34f178e3d3">OutputStream::getPosition()</a>, <a class="el" href="juce__PlatformDefs_8h.html#a851b02724a8158a7f746c66b5758b3dd">JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR</a>, <a class="el" href="classOutputStream.html#ae95d7b4edfe5eac6a0913b079684572a">OutputStream::setPosition()</a>, <a class="el" href="classOutputStream.html#a0658d05adfcb1f7363ebe418f84fee21">OutputStream::write()</a>, and <a class="el" href="classOutputStream.html#a2971fbd11a1c278f85ae02726c20d3be">OutputStream::writeRepeatedByte()</a>.</p>

</div>
</div>
<a id="a663c7e264306c74ed58f2639acec5797"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a663c7e264306c74ed58f2639acec5797">&sect;&nbsp;</a></span>truncate()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classResult.html">Result</a> FileOutputStream::truncate </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Attempts to truncate the file to the current write position. </p>
<p>To truncate a file to a specific size, first use <a class="el" href="classFileOutputStream.html#adfaac72947e3a9bf5bf99669d253219f" title="Tries to move the stream&#39;s output position. ">setPosition()</a> to seek to the appropriate location, and then call this method. </p>

</div>
</div>
<a id="afc63785b8744278d51814c4892207414"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc63785b8744278d51814c4892207414">&sect;&nbsp;</a></span>flush()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void FileOutputStream::flush </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>If the stream is using a buffer, this will ensure it gets written out to the destination. </p>

<p>Implements <a class="el" href="classOutputStream.html#a2b731aef87084c3779bea292f85e800d">OutputStream</a>.</p>

</div>
</div>
<a id="ad9c8bd54d832a6739a9a4af57f4b8254"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad9c8bd54d832a6739a9a4af57f4b8254">&sect;&nbsp;</a></span>getPosition()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="juce__MathsFunctions_8h.html#aecfc3c54bd29ad5964e1c1c3ccbf89df">int64</a> FileOutputStream::getPosition </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the stream's current position. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classFileOutputStream.html#adfaac72947e3a9bf5bf99669d253219f" title="Tries to move the stream&#39;s output position. ">setPosition</a> </dd></dl>

<p>Implements <a class="el" href="classOutputStream.html#a84ec99ccacf0326e79070d34f178e3d3">OutputStream</a>.</p>

</div>
</div>
<a id="adfaac72947e3a9bf5bf99669d253219f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adfaac72947e3a9bf5bf99669d253219f">&sect;&nbsp;</a></span>setPosition()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool FileOutputStream::setPosition </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="juce__MathsFunctions_8h.html#aecfc3c54bd29ad5964e1c1c3ccbf89df">int64</a>&#160;</td>
          <td class="paramname"><em>newPosition</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Tries to move the stream's output position. </p>
<p>Not all streams will be able to seek to a new position - this will return false if it fails to work.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classFileOutputStream.html#ad9c8bd54d832a6739a9a4af57f4b8254" title="Returns the stream&#39;s current position. ">getPosition</a> </dd></dl>

<p>Implements <a class="el" href="classOutputStream.html#ae95d7b4edfe5eac6a0913b079684572a">OutputStream</a>.</p>

</div>
</div>
<a id="ae2028e7cfc77d246d160f316db61f60f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae2028e7cfc77d246d160f316db61f60f">&sect;&nbsp;</a></span>write()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool FileOutputStream::write </td>
          <td>(</td>
          <td class="paramtype">const void *&#160;</td>
          <td class="paramname"><em>dataToWrite</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>numberOfBytes</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Writes a block of data to the stream. </p>
<p>When creating a subclass of <a class="el" href="classOutputStream.html" title="The base class for streams that write data to some kind of destination. ">OutputStream</a>, this is the only write method that needs to be overloaded - the base class has methods for writing other types of data which use this to do the work.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dataToWrite</td><td>the target buffer to receive the data. This must not be null. </td></tr>
    <tr><td class="paramname">numberOfBytes</td><td>the number of bytes to write. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>false if the write operation fails for some reason </dd></dl>

<p>Implements <a class="el" href="classOutputStream.html#a0658d05adfcb1f7363ebe418f84fee21">OutputStream</a>.</p>

</div>
</div>
<a id="a8b8d8a24b6e3eb021a5cb333c22a5de8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b8d8a24b6e3eb021a5cb333c22a5de8">&sect;&nbsp;</a></span>writeRepeatedByte()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool FileOutputStream::writeRepeatedByte </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="juce__MathsFunctions_8h.html#adde6aaee8457bee49c2a92621fe22b79">uint8</a>&#160;</td>
          <td class="paramname"><em>byte</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>numTimesToRepeat</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Writes a byte to the output stream a given number of times. </p>
<dl class="section return"><dt>Returns</dt><dd>false if the write operation fails for some reason </dd></dl>

<p>Reimplemented from <a class="el" href="classOutputStream.html#a2971fbd11a1c278f85ae02726c20d3be">OutputStream</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="juce__FileOutputStream_8h.html">juce_FileOutputStream.h</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/>
<address class="footer"><small>All content &copy ROLI Ltd.</small></address><br/>
</body>
</html>