\Swift_ByteStream_TemporaryFileByteStream
- Author: Romain-Geissler
Synopsis
class Swift_ByteStream_TemporaryFileByteStream
extends Swift_ByteStream_FileByteStream
{
- // Inherited members from Swift_ByteStream_AbstractFilterableInputStream
- protected integer $_sequence;
- // methods
- public void __construct()
- public void getContent()
- public void __destruct()
- // Inherited methods from Swift_ByteStream_FileByteStream
- public void __construct()
- public string getPath()
- public string read()
- public boolean setReadPointer()
- protected void _commit()
- protected void _flush()
- // Inherited methods from Swift_ByteStream_AbstractFilterableInputStream
- protected abstract void _commit()
- protected abstract void _flush()
- public void addFilter()
- public void removeFilter()
- public integer write()
- public void commit()
- public void bind()
- public void unbind()
- public void flushBuffers()
Hierarchy
Extends
Members
protected
-
$_sequence
Write sequence.
Methods
public
Inherited from Swift_ByteStream_FileByteStream
protected
public
- getPath() — Get the complete path to the file.
- read() — Reads $length bytes from the stream into a string and moves the pointer through the stream by $length.
- setReadPointer() — Move the internal read pointer to $byteOffset in the stream.
Inherited from Swift_ByteStream_AbstractFilterableInputStream
protected
- _commit() — Commit the given bytes to the storage medium immediately.
- _flush() — Flush any buffers/content with immediate effect.
public
- addFilter() — Add a StreamFilter to this InputByteStream.
- bind() — Attach $is to this stream.
- commit() — For any bytes that are currently buffered inside the stream, force them off the buffer.
- flushBuffers() — Flush the contents of the stream (empty it) and set the internal pointer to the beginning.
- removeFilter() — Remove an already present StreamFilter based on its $key.
- unbind() — Remove an already bound stream.
- write() — Writes $bytes to the end of the stream.