Class Swift_Cache_JointOutputStream

Description

Makes multiple output streams act as one super sream

Located in /Swift/Cache/JointOutputStream.php (line 19)

Swift_Cache_OutputStream
   |
   --Swift_Cache_JointOutputStream
Method Summary
Swift_Cache_JointOutputStream __construct ([array $streams = array()])
string read ([int $size = null])
Methods
Constructor __construct (line 36)

Ctor

Swift_Cache_JointOutputStream __construct ([array $streams = array()])
  • array $streams: An array of Swift_Cache_OutputStream instances

Redefinition of:
Swift_Cache_OutputStream::__construct()
Ctor.
addStream (line 44)

Add a new output stream

void addStream (Swift_Cache_OutputStream $stream)
read (line 53)

Read data from all streams as if they are one stream

string read ([int $size = null])
  • int $size: The number of bytes to read from each stream

Redefinition of:
Swift_Cache_OutputStream::read()
Read bytes from the cache and seek through the buffer

Inherited Methods

Inherited From Swift_Cache_OutputStream

Swift_Cache_OutputStream::__construct()
Swift_Cache_OutputStream::read()
Swift_Cache_OutputStream::readFull()

Documentation generated on Tue, 06 Mar 2007 23:32:25 +0000 by phpDocumentor 1.3.1