Swift_ByteStream_ArrayByteStream::flushBuffers PHP Method

flushBuffers() public method

Flush the contents of the stream (empty it) and set the internal pointer to the beginning.
public flushBuffers ( )
    public function flushBuffers()
    {
        $this->_offset = 0;
        $this->_array = array();
        $this->_arraySize = 0;
        foreach ($this->_mirrors as $stream) {
            $stream->flushBuffers();
        }
    }