[ Index ]

MailPress 7.2

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/mp-includes/composer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/ -> InputByteStream.php (summary)

(no description)

File Size: 75 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Swift_InputByteStream:: (5 methods):
  write()
  commit()
  bind()
  unbind()
  flushBuffers()


Interface: Swift_InputByteStream  - X-Ref

An abstract means of writing data.

Classes implementing this interface may use a subsystem which requires less
memory than working with large strings of data.

write($bytes)   X-Ref
Writes $bytes to the end of the stream.

Writing may not happen immediately if the stream chooses to buffer.  If
you want to write these bytes with immediate effect, call {@link commit()}
after calling write().

This method returns the sequence ID of the write (i.e. 1 for first, 2 for
second, etc etc).

param: string $bytes
return: int

commit()   X-Ref
For any bytes that are currently buffered inside the stream, force them
off the buffer.


bind(self $is)   X-Ref
Attach $is to this stream.

The stream acts as an observer, receiving all data that is written.
All {@link write()} and {@link flushBuffers()} operations will be mirrored.

param: Swift_InputByteStream $is

unbind(self $is)   X-Ref
Remove an already bound stream.

If $is is not bound, no errors will be raised.
If the stream currently has any buffered data it will be written to $is
before unbinding occurs.

param: Swift_InputByteStream $is

flushBuffers()   X-Ref
Flush the contents of the stream (empty it) and set the internal pointer
to the beginning.




Generated: Tue May 19 15:55:14 2020 Cross-referenced by PHPXref 0.7.1