[ Index ]

MailPress 7.2

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

title

Body

[close]

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

(no description)

File Size: 214 lines (6 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()
  doCommit()
  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

doCommit($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: Tue May 19 15:55:14 2020 Cross-referenced by PHPXref 0.7.1