Class Swift_KeyCache_SimpleKeyCacheInputStream
Inheritance | Swift_KeyCache_SimpleKeyCacheInputStream |
---|---|
Implements | Swift_KeyCache_KeyCacheInputStream |
Writes data to a KeyCache using a stream.
Public Methods
Method | Description | Defined By |
---|---|---|
__clone() | Any implementation should be cloneable, allowing the clone to access a separate $nsKey and $itemKey. | Swift_KeyCache_SimpleKeyCacheInputStream |
bind() | Not used. | Swift_KeyCache_SimpleKeyCacheInputStream |
commit() | Not used. | Swift_KeyCache_SimpleKeyCacheInputStream |
flushBuffers() | Flush the contents of the stream (empty it) and set the internal pointer to the beginning. | Swift_KeyCache_SimpleKeyCacheInputStream |
setItemKey() | Set the itemKey which will be written to. | Swift_KeyCache_SimpleKeyCacheInputStream |
setKeyCache() | Set the KeyCache to wrap. | Swift_KeyCache_SimpleKeyCacheInputStream |
setNsKey() | Set the nsKey which will be written to. | Swift_KeyCache_SimpleKeyCacheInputStream |
setWriteThroughStream() | Specify a stream to write through for each write(). | Swift_KeyCache_SimpleKeyCacheInputStream |
unbind() | Not used. | Swift_KeyCache_SimpleKeyCacheInputStream |
write() | Writes $bytes to the end of the stream. | Swift_KeyCache_SimpleKeyCacheInputStream |
Method Details
Any implementation should be cloneable, allowing the clone to access a separate $nsKey and $itemKey.
public void __clone ( ) |
Not used.
public void bind ( Swift_InputByteStream $is ) | ||
$is |
Not used.
public void commit ( ) |
Flush the contents of the stream (empty it) and set the internal pointer to the beginning.
public void flushBuffers ( ) |
Set the itemKey which will be written to.
public void setItemKey ( $itemKey ) | ||
$itemKey | string |
Set the KeyCache to wrap.
public void setKeyCache ( Swift_KeyCache $keyCache ) | ||
$keyCache | Swift_KeyCache |
Set the nsKey which will be written to.
public void setNsKey ( $nsKey ) | ||
$nsKey | string |
Specify a stream to write through for each write().
public void setWriteThroughStream ( Swift_InputByteStream $is ) | ||
$is | Swift_InputByteStream |
Not used.
public void unbind ( Swift_InputByteStream $is ) | ||
$is |
Writes $bytes to the end of the stream.
public void write ( $bytes, Swift_InputByteStream $is = null ) | ||
$bytes | string | |
$is | Swift_InputByteStream | Optional |