PHP » GoLang |
login |
register |
about
|
GoLang RarEntry::getStream
request it (404)
GoLang replacement for PHP's RarEntry::getStream
[edit | history]
RarEntry::getStream(PECL rar >= 2.0.0) RarEntry::getStream — Get file handler for entry Description
public resource RarEntry::getStream
([ string
$password
] )Returns a file handler that supports read operations. This handler provides on-the-fly decompression for this entry. The handler is not invalidated by calling rar_close(). Warning
The resulting stream has no integrity verification. In particular, file corruption and decryption with a wrong a key will not be detected. It is the programmer's responsability to use the entry's CRC to check for integrity, if he so wishes. Parameters
Return Values
The file handler or Changelog
Examples
Example #1 RarEntry::getStream() example
<?php |
more
Recently updated
more
Most requested
more
Last requests
|