Class Swift_Cache_OutputStream

Description

The wraps the streaming functionality of the cache

Located in /Swift/Cache/OutputStream.php (line 16)


	
			
Direct descendents
Class Description
Swift_Cache_JointOutputStream Makes multiple output streams act as one super sream
Method Summary
Swift_Cache_OutputStream __construct (Swift_Cache $cache, string $key)
string read ([int $size = null])
string readFull ()
Methods
Constructor __construct (line 34)

Ctor.

Swift_Cache_OutputStream __construct (Swift_Cache $cache, string $key)
  • Swift_Cache $cache: The cache to read from
  • string $key: The key for the cached data

Redefined in descendants as:
read (line 45)

Read bytes from the cache and seek through the buffer

Returns false if EOF is reached

  • return: The read bytes
string read ([int $size = null])
  • int $size: The number of bytes to read (could be ignored)

Redefined in descendants as:
readFull (line 53)

Read the entire cached data as one string

string readFull ()

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