Interface Swift_KeyCache_KeyCacheInputStream
Extends | Swift_InputByteStream |
---|---|
Implemented by | Swift_KeyCache_SimpleKeyCacheInputStream |
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_KeyCacheInputStream |
bind() | Attach $is to this stream. | Swift_InputByteStream |
commit() | For any bytes that are currently buffered inside the stream, force them off the buffer. | Swift_InputByteStream |
flushBuffers() | Flush the contents of the stream (empty it) and set the internal pointer to the beginning. | Swift_InputByteStream |
setItemKey() | Set the itemKey which will be written to. | Swift_KeyCache_KeyCacheInputStream |
setKeyCache() | Set the KeyCache to wrap. | Swift_KeyCache_KeyCacheInputStream |
setNsKey() | Set the nsKey which will be written to. | Swift_KeyCache_KeyCacheInputStream |
setWriteThroughStream() | Specify a stream to write through for each write(). | Swift_KeyCache_KeyCacheInputStream |
unbind() | Remove an already bound stream. | Swift_InputByteStream |
write() | Writes $bytes to the end of the stream. | Swift_InputByteStream |
Method Details
Any implementation should be cloneable, allowing the clone to access a separate $nsKey and $itemKey.
public abstract void __clone ( ) |
Set the itemKey which will be written to.
public abstract void setItemKey ( $itemKey ) | ||
$itemKey | string |
Set the KeyCache to wrap.
public abstract void setKeyCache ( Swift_KeyCache $keyCache ) | ||
$keyCache | Swift_KeyCache |
Set the nsKey which will be written to.
public abstract void setNsKey ( $nsKey ) | ||
$nsKey | string |
Specify a stream to write through for each write().
public abstract void setWriteThroughStream ( Swift_InputByteStream $is ) | ||
$is | Swift_InputByteStream |