Documentation

Swift_KeyCache_SimpleKeyCacheInputStream
in package
implements Swift_KeyCache_KeyCacheInputStream

Writes data to a KeyCache using a stream.

Tags
author

Chris Corbyn

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

Methods

__clone()

Any implementation should be cloneable, allowing the clone to access a separate $nsKey and $itemKey.

public __clone() : 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

setNsKey()

Set the nsKey which will be written to.

public setNsKey(string $nsKey) : mixed
Parameters
$nsKey : string
Return values
mixed

Search results