Swift_KeyCache_SimpleKeyCacheInputStream
in package
implements
Swift_KeyCache_KeyCacheInputStream
Writes data to a KeyCache using a stream.
Tags
Interfaces, Classes and Traits
- Swift_KeyCache_KeyCacheInputStream
- Writes data to a KeyCache using a stream.
Table of Contents
- $itemKey : mixed
- The itemKey of the KeyCache being written to
- $keyCache : mixed
- The KeyCache being written to
- $nsKey : mixed
- The nsKey of the KeyCache being written to
- $writeThrough : mixed
- A stream to write through on each write()
- __clone() : mixed
- Any implementation should be cloneable, allowing the clone to access a separate $nsKey and $itemKey.
- bind() : mixed
- Not used.
- commit() : mixed
- Not used.
- flushBuffers() : mixed
- Flush the contents of the stream (empty it) and set the internal pointer to the beginning.
- setItemKey() : mixed
- Set the itemKey which will be written to.
- setKeyCache() : mixed
- Set the KeyCache to wrap.
- setNsKey() : mixed
- Set the nsKey which will be written to.
- setWriteThroughStream() : mixed
- Specify a stream to write through for each write().
- unbind() : mixed
- Not used.
- write() : mixed
- Writes $bytes to the end of the stream.
Properties
$itemKey
The itemKey of the KeyCache being written to
private
mixed
$itemKey
$keyCache
The KeyCache being written to
private
mixed
$keyCache
$nsKey
The nsKey of the KeyCache being written to
private
mixed
$nsKey
$writeThrough
A stream to write through on each write()
private
mixed
$writeThrough
=
ull
Methods
__clone()
Any implementation should be cloneable, allowing the clone to access a separate $nsKey and $itemKey.
public
__clone() : mixed
Return values
mixed —bind()
Not used.
public
bind(Swift_InputByteStream $is) : mixed
Parameters
- $is : Swift_InputByteStream
Return values
mixed —commit()
Not used.
public
commit() : mixed
Return values
mixed —flushBuffers()
Flush the contents of the stream (empty it) and set the internal pointer to the beginning.
public
flushBuffers() : mixed
Return values
mixed —setItemKey()
Set the itemKey which will be written to.
public
setItemKey(string $itemKey) : mixed
Parameters
- $itemKey : string
Return values
mixed —setKeyCache()
Set the KeyCache to wrap.
public
setKeyCache(Swift_KeyCache $keyCache) : mixed
Parameters
- $keyCache : Swift_KeyCache
Return values
mixed —setNsKey()
Set the nsKey which will be written to.
public
setNsKey(string $nsKey) : mixed
Parameters
- $nsKey : string
Return values
mixed —setWriteThroughStream()
Specify a stream to write through for each write().
public
setWriteThroughStream(Swift_InputByteStream $is) : mixed
Parameters
- $is : Swift_InputByteStream
Return values
mixed —unbind()
Not used.
public
unbind(Swift_InputByteStream $is) : mixed
Parameters
- $is : Swift_InputByteStream
Return values
mixed —write()
Writes $bytes to the end of the stream.
public
write(string $bytes[, Swift_InputByteStream $is = null ]) : mixed
Parameters
- $bytes : string
- $is : Swift_InputByteStream = null
-
optional