[ Index ]

MailPress 544

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

title

Body

[close]

/mp-includes/Swiftmailer/classes/Swift/ByteStream/ -> FileByteStream.php (summary)

(no description)

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

Defines 1 class

Swift_ByteStream_FileByteStream:: (12 methods):
  __construct()
  getPath()
  read()
  setReadPointer()
  _commit()
  _flush()
  _getReadHandle()
  _getWriteHandle()
  _resetReadHandle()
  _getReadStreamSeekableStatus()
  _seekReadStreamToPosition()
  _copyReadStream()


Class: Swift_ByteStream_FileByteStream  - X-Ref

Allows reading and writing of bytes to and from a file.

__construct($path, $writable = false)   X-Ref
Create a new FileByteStream for $path.

param: string $path
param: bool   $writable if true

getPath()   X-Ref
Get the complete path to the file.

return: string

read($length)   X-Ref
Reads $length bytes from the stream into a string and moves the pointer
through the stream by $length.

If less bytes exist than are requested the
remaining bytes are given instead. If no bytes are remaining at all, boolean
false is returned.

param: int $length
return: string|bool

setReadPointer($byteOffset)   X-Ref
Move the internal read pointer to $byteOffset in the stream.

param: int $byteOffset
return: bool

_commit($bytes)   X-Ref
No description

_flush()   X-Ref
No description

_getReadHandle()   X-Ref
No description

_getWriteHandle()   X-Ref
No description

_resetReadHandle()   X-Ref
No description

_getReadStreamSeekableStatus()   X-Ref
No description

_seekReadStreamToPosition($offset)   X-Ref
No description

_copyReadStream()   X-Ref
No description



Generated: Thu Apr 28 18:38:52 2016 Cross-referenced by PHPXref 0.7.1