Gnash
0.8.11dev
|
Functions | |
IOChannel * | make_stream (int fd, const char *cachefilename=nullptr) |
Returns a read-only IOChannel that fetches data from an file descriptor open for read. More... | |
Code to use volatile (non-back-seekable) streams as IOChannel objects (which are seekable by definition) by storing read bytes in a temporary file.
DSOEXPORT IOChannel * gnash::noseek_fd_adapter::make_stream | ( | int | fd, |
const char * | cachefilename = nullptr |
||
) |
Returns a read-only IOChannel that fetches data from an file descriptor open for read.
The caller owns the returned IOChannel.
Specify a cachefilename if you want to be able to access the full cache after deletion of the returned IOChannel.
Referenced by gnash::Player::setScale().