# system/io/BufferedWriter.php

Convenience class for writing files.

Author
  Hans Lellelid
Package
  phing.system.io
Version
  $Revision: 552 $

## \BufferedWriter
jump to top

Package: phing\system\io

Convenience class for writing files.

Parent(s)
  \Writer
Author
  Hans Lellelid
Version
  $Revision: 552 $

### Properties

`$bufferSize= '0'`

The size of the buffer in kb.

Default value `0` Details

Type
  n/a

`\Writer $out= ''`

The Writer we are buffering output to.
Details

Type
  \Writer

### Methods

`__construct( $writer, $buffsize = 8192 ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$writer |  |
$buffsize |  |

`close( ) : void`

Close attached stream.

`flush( ) : void`

`getResource( ) : void`

`newLine( ) : void`

`write( $buf, $off = null, $len = null ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$buf |  |
$off |  |
$len |  |

Documentation was generated by DocBlox 0.17.1.