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
Variable Summary
int $pointer
array $streams
Method Summary
Swift_Cache_JointOutputStream __construct ([array $streams = array()])
string read ([int $size = null])
Variables
int $pointer = 0 (line 30)

The current stream in use

  • access: protected
array $streams = array() (line 25)

The streams to join

  • access: protected

Inherited Variables

Inherited from Swift_Cache_OutputStream

Swift_Cache_OutputStream::$cache
Swift_Cache_OutputStream::$key
Methods
Constructor __construct (line 36)

Ctor

  • access: public
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

  • access: public
void addStream (Swift_Cache_OutputStream $stream)
read (line 53)

Read data from all streams as if they are one stream

  • access: public
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 Wed, 26 Mar 2008 20:33:08 +1100 by phpDocumentor 1.3.1