XOOPS RMCommon Utilities
2.1.8.91RC
|
Public Member Functions | |
read ($length) | |
setReadPointer ($byteOffset) | |
Definition at line 19 of file OutputByteStream.php.
Swift_OutputByteStream::read | ( | $length | ) |
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.
int | $length |
Swift_IoException |
Implemented in Swift_Transport_StreamBuffer, Swift_ByteStream_ArrayByteStream, and Swift_ByteStream_FileByteStream.
Referenced by Swift_Mime_SimpleMimeEntity\_readStream(), Swift_Mime_ContentEncoder_Base64ContentEncoder\encodeByteStream(), Swift_Mime_ContentEncoder_PlainContentEncoder\encodeByteStream(), Swift_CharacterStream_ArrayCharacterStream\importByteStream(), importByteStream(), Swift_KeyCache_ArrayKeyCache\importFromByteStream(), and Swift_KeyCache_DiskKeyCache\importFromByteStream().
Swift_OutputByteStream::setReadPointer | ( | $byteOffset | ) |
Move the internal read pointer to $byteOffset in the stream.
int | $byteOffset |
Swift_IoException |
Implemented in Swift_Transport_StreamBuffer, Swift_ByteStream_ArrayByteStream, and Swift_ByteStream_FileByteStream.
Referenced by importByteStream().