#include <diskstream.h>
Public Types | |
enum | state_e { NO_STATE, CREATED, CLOSED, OPEN, PLAY, PREVIEW, THUMBNAIL, PAUSE, SEEK, UPLOAD, MULTICAST, DONE, NO_STATE, CREATED, CLOSED, OPEN, PLAY, PREVIEW, THUMBNAIL, PAUSE, SEEK, UPLOAD, MULTICAST, DONE } |
enum | filetype_e { FILETYPE_NONE, FILETYPE_AMF, FILETYPE_SWF, FILETYPE_HTML, FILETYPE_PNG, FILETYPE_JPEG, FILETYPE_GIF, FILETYPE_MP3, FILETYPE_MP4, FILETYPE_OGG, FILETYPE_VORBIS, FILETYPE_THEORA, FILETYPE_DIRAC, FILETYPE_TEXT, FILETYPE_FLV, FILETYPE_VP6, FILETYPE_XML, FILETYPE_FLAC, FILETYPE_ENCODED, FILETYPE_PHP, FILETYPE_NONE, FILETYPE_AMF, FILETYPE_SWF, FILETYPE_HTML, FILETYPE_PNG, FILETYPE_JPEG, FILETYPE_GIF, FILETYPE_MP3, FILETYPE_MP4, FILETYPE_OGG, FILETYPE_VORBIS, FILETYPE_THEORA, FILETYPE_DIRAC, FILETYPE_TEXT, FILETYPE_FLV, FILETYPE_VP6, FILETYPE_XML, FILETYPE_FLAC, FILETYPE_ENCODED, FILETYPE_PHP } |
enum | state_e { NO_STATE, CREATED, CLOSED, OPEN, PLAY, PREVIEW, THUMBNAIL, PAUSE, SEEK, UPLOAD, MULTICAST, DONE, NO_STATE, CREATED, CLOSED, OPEN, PLAY, PREVIEW, THUMBNAIL, PAUSE, SEEK, UPLOAD, MULTICAST, DONE } |
enum | filetype_e { FILETYPE_NONE, FILETYPE_AMF, FILETYPE_SWF, FILETYPE_HTML, FILETYPE_PNG, FILETYPE_JPEG, FILETYPE_GIF, FILETYPE_MP3, FILETYPE_MP4, FILETYPE_OGG, FILETYPE_VORBIS, FILETYPE_THEORA, FILETYPE_DIRAC, FILETYPE_TEXT, FILETYPE_FLV, FILETYPE_VP6, FILETYPE_XML, FILETYPE_FLAC, FILETYPE_ENCODED, FILETYPE_PHP, FILETYPE_NONE, FILETYPE_AMF, FILETYPE_SWF, FILETYPE_HTML, FILETYPE_PNG, FILETYPE_JPEG, FILETYPE_GIF, FILETYPE_MP3, FILETYPE_MP4, FILETYPE_OGG, FILETYPE_VORBIS, FILETYPE_THEORA, FILETYPE_DIRAC, FILETYPE_TEXT, FILETYPE_FLV, FILETYPE_VP6, FILETYPE_XML, FILETYPE_FLAC, FILETYPE_ENCODED, FILETYPE_PHP } |
Public Member Functions | |
DSOEXPORT | DiskStream () |
DSOEXPORT | DiskStream (const std::string &filespec) |
DSOEXPORT | DiskStream (const std::string &filespec, cygnal::Buffer &buf) |
DSOEXPORT | DiskStream (const std::string &filespec, boost::uint8_t *data, size_t size) |
DSOEXPORT | DiskStream (const std::string &filespec, int netfd) |
DSOEXPORT | ~DiskStream () |
DSOEXPORT void | close () |
Close the open disk file and it's associated stream. | |
DSOEXPORT bool | open (const std::string &filespec) |
Open a file to be streamed. | |
DSOEXPORT bool | open (const std::string &filespec, int netfd) |
DSOEXPORT bool | open (const std::string &filespec, int netfd, gnash::Statistics &statistics) |
bool | play () |
Stream the file that has been loaded,. | |
bool | play (bool flag) |
bool | play (int netfd, bool flag) |
Stream the file that has been loaded,. | |
bool | preview (const std::string &filespec, int frames) |
Stream a preview of the file. A preview is a series of video frames from the video file. Each video frame is taken by sampling the file at a set interval. | |
bool | thumbnail (const std::string &filespec, int quantity) |
Stream a series of thumbnails. A thumbnail is a series of jpg images of frames from the video file instead of video frames. Each thumbnail is taken by sampling the file at a set interval. | |
bool | pause () |
Pause the stream currently being played. | |
boost::uint8_t * | seek (off_t offset) |
Seek within the stream. | |
bool | upload (const std::string &filespec) |
Upload a file into a sandbox. The sandbox is an area where uploaded files can get written to safely. For SWF content, the file name also includes a few optional paths used to seperate applications from each other. | |
bool | multicast (const std::string &filespec) |
DSOEXPORT boost::uint8_t * | loadToMem (size_t filesize, off_t offset) |
Load a chunk of the file into memory This offset must be a multipe of the pagesize. | |
DSOEXPORT boost::uint8_t * | loadToMem (off_t offset) |
Load a chunk (pagesize) of the file into memory. This loads a pagesize of the disk file into memory. We read the file this way as it is faster and takes less resources than read(), which add buffering we don't need. This offset must be a multipe of the pagesize. | |
DSOEXPORT boost::uint8_t * | loadToMem () |
DSOEXPORT bool | writeToDisk (const std::string &filespec, boost::uint8_t *data, size_t size) |
Write the data in memory to disk. | |
DSOEXPORT bool | writeToDisk (const std::string &filespec, cygnal::Buffer &data) |
DSOEXPORT bool | writeToDisk (const std::string &filespec) |
DSOEXPORT bool | writeToDisk () |
Write the data in memory to disk. | |
bool | writeToNet (int start, int bytes) |
Write the existing data to the Network. | |
size_t | getPagesize () |
Get the memory page size This is a cached value of the system configuration value for the default size in bytes of a memory page. | |
void | setPagesize (size_t size) |
Set the memory page size This is a cached value of the system configuration value for the default size in bytes of a memory page. | |
DiskStream & | operator= (DiskStream *stream) |
copy another DiskStream into ourselves, so they share data in memory. | |
void | dump () |
Dump the internal data of this class in a human readable form. | |
boost::uint8_t * | get () |
Get the base address for the memory page. | |
bool | fullyPopulated () |
size_t | getFileSize () |
Get the size of the file. | |
DiskStream::filetype_e | getFileType () |
std::string & | getFilespec () |
void | setFilespec (std::string filespec) |
struct timespec * | getLastAccessTime () |
Get the time of the last access. | |
state_e | getState () |
void | setState (state_e state) |
int | getFileFd () |
int | getNetFd () |
void | dump () const |
Dump the internal data of this class in a human readable form. | |
void | dump (std::ostream &os) const |
DSOEXPORT | DiskStream () |
DSOEXPORT | DiskStream (const std::string &filespec) |
DSOEXPORT | DiskStream (const std::string &filespec, cygnal::Buffer &buf) |
DSOEXPORT | DiskStream (const std::string &filespec, boost::uint8_t *data, size_t size) |
DSOEXPORT | DiskStream (const std::string &filespec, int netfd) |
DSOEXPORT | ~DiskStream () |
DSOEXPORT void | close () |
Close the open disk file and it's associated stream. | |
DSOEXPORT bool | open (const std::string &filespec) |
Open a file to be streamed. | |
DSOEXPORT bool | open (const std::string &filespec, int netfd) |
DSOEXPORT bool | open (const std::string &filespec, int netfd, gnash::Statistics &statistics) |
bool | play () |
Stream the file that has been loaded,. | |
bool | play (bool flag) |
bool | play (int netfd, bool flag) |
bool | preview (const std::string &filespec, int frames) |
Stream a preview of the file. A preview is a series of video frames from the video file. Each video frame is taken by sampling the file at a set interval. | |
bool | thumbnail (const std::string &filespec, int quantity) |
Stream a series of thumbnails. A thumbnail is a series of jpg images of frames from the video file instead of video frames. Each thumbnail is taken by sampling the file at a set interval. | |
bool | pause () |
Pause the stream currently being played. | |
boost::uint8_t * | seek (off_t offset) |
Seek within the stream. | |
bool | upload (const std::string &filespec) |
Upload a file into a sandbox. The sandbox is an area where uploaded files can get written to safely. For SWF content, the file name also includes a few optional paths used to seperate applications from each other. | |
bool | multicast (const std::string &filespec) |
DSOEXPORT boost::uint8_t * | loadToMem (size_t filesize, off_t offset) |
Load a chunk of the file into memory This offset must be a multipe of the pagesize. | |
DSOEXPORT boost::uint8_t * | loadToMem (off_t offset) |
DSOEXPORT boost::uint8_t * | loadToMem () |
DSOEXPORT bool | writeToDisk (const std::string &filespec, boost::uint8_t *data, size_t size) |
Write the data in memory to disk. | |
DSOEXPORT bool | writeToDisk (const std::string &filespec, cygnal::Buffer &data) |
DSOEXPORT bool | writeToDisk (const std::string &filespec) |
DSOEXPORT bool | writeToDisk () |
bool | writeToNet (int start, int bytes) |
Write the existing data to the Network. | |
size_t | getPagesize () |
Get the memory page size This is a cached value of the system configuration value for the default size in bytes of a memory page. | |
void | setPagesize (size_t size) |
Set the memory page size This is a cached value of the system configuration value for the default size in bytes of a memory page. | |
DiskStream & | operator= (DiskStream *stream) |
copy another DiskStream into ourselves, so they share data in memory. | |
void | dump () |
Dump the internal data of this class in a human readable form. | |
boost::uint8_t * | get () |
Get the base address for the memory page. | |
bool | fullyPopulated () |
size_t | getFileSize () |
Get the size of the file. | |
DiskStream::filetype_e | getFileType () |
std::string & | getFilespec () |
void | setFilespec (std::string filespec) |
struct timespec * | getLastAccessTime () |
Get the time of the last access. | |
state_e | getState () |
void | setState (state_e state) |
int | getFileFd () |
int | getNetFd () |
void | dump () const |
Dump the internal data of this class in a human readable form. | |
void | dump (std::ostream &os) const |
This class handles the loading of files into memory. Instead of using read() from the standard library, this uses mmap() to map the file into memory in chunks of the memory pagesize, which is much faster and less resource intensive.
gnash::DiskStream::DiskStream | ( | ) |
get the pagesize and cache the value
get the pagesize and cache the value
References _SC_PAGESIZE, CLOCK_REALTIME, and gnash::MAX_PAGES.
DSOEXPORT gnash::DiskStream::DiskStream | ( | const std::string & | filespec | ) |
DSOEXPORT gnash::DiskStream::DiskStream | ( | const std::string & | filespec, | |
cygnal::Buffer & | buf | |||
) |
DSOEXPORT gnash::DiskStream::DiskStream | ( | const std::string & | filespec, | |
boost::uint8_t * | data, | |||
size_t | size | |||
) |
DSOEXPORT gnash::DiskStream::DiskStream | ( | const std::string & | filespec, | |
int | netfd | |||
) |
gnash::DiskStream::~DiskStream | ( | ) |
References close().
DSOEXPORT gnash::DiskStream::DiskStream | ( | ) |
DSOEXPORT gnash::DiskStream::DiskStream | ( | const std::string & | filespec | ) |
DSOEXPORT gnash::DiskStream::DiskStream | ( | const std::string & | filespec, | |
cygnal::Buffer & | buf | |||
) |
DSOEXPORT gnash::DiskStream::DiskStream | ( | const std::string & | filespec, | |
boost::uint8_t * | data, | |||
size_t | size | |||
) |
DSOEXPORT gnash::DiskStream::DiskStream | ( | const std::string & | filespec, | |
int | netfd | |||
) |
DSOEXPORT gnash::DiskStream::~DiskStream | ( | ) |
void gnash::DiskStream::close | ( | void | ) |
Close the open disk file and it's associated stream.
Close the open disk file, but stay resident in memory.
References free(), and MAP_FAILED.
Referenced by loadToMem(), main(), play(), writeToDisk(), and ~DiskStream().
DSOEXPORT void gnash::DiskStream::close | ( | ) |
Close the open disk file and it's associated stream.
void gnash::DiskStream::dump | ( | ) | const [inline] |
void gnash::DiskStream::dump | ( | std::ostream & | os | ) | const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
void gnash::DiskStream::dump | ( | ) | const [inline] |
void gnash::DiskStream::dump | ( | std::ostream & | os | ) | const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
void gnash::DiskStream::dump | ( | ) |
Dump the internal data of this class in a human readable form.
References CLOCK_REALTIME.
Referenced by gnash::operator<<().
void gnash::DiskStream::dump | ( | ) |
Dump the internal data of this class in a human readable form.
bool gnash::DiskStream::fullyPopulated | ( | ) |
bool gnash::DiskStream::fullyPopulated | ( | ) |
boost::uint8_t* gnash::DiskStream::get | ( | ) | [inline] |
Get the base address for the memory page.
boost::uint8_t* gnash::DiskStream::get | ( | ) | [inline] |
Get the base address for the memory page.
Referenced by main(), and operator=().
int gnash::DiskStream::getFileFd | ( | ) | [inline] |
int gnash::DiskStream::getFileFd | ( | ) | [inline] |
Referenced by operator=().
size_t gnash::DiskStream::getFileSize | ( | ) | [inline] |
Get the size of the file.
size_t gnash::DiskStream::getFileSize | ( | ) | [inline] |
Get the size of the file.
std::string& gnash::DiskStream::getFilespec | ( | ) | [inline] |
std::string& gnash::DiskStream::getFilespec | ( | ) | [inline] |
Referenced by operator=().
DiskStream::filetype_e gnash::DiskStream::getFileType | ( | ) | [inline] |
DiskStream::filetype_e gnash::DiskStream::getFileType | ( | ) | [inline] |
Referenced by operator=().
struct timespec* gnash::DiskStream::getLastAccessTime | ( | ) | [inline, read] |
Get the time of the last access.
struct timespec* gnash::DiskStream::getLastAccessTime | ( | ) | [inline, read] |
Get the time of the last access.
int gnash::DiskStream::getNetFd | ( | ) | [inline] |
Referenced by operator=().
int gnash::DiskStream::getNetFd | ( | ) | [inline] |
size_t gnash::DiskStream::getPagesize | ( | ) | [inline] |
Get the memory page size This is a cached value of the system configuration value for the default size in bytes of a memory page.
Referenced by main().
size_t gnash::DiskStream::getPagesize | ( | ) | [inline] |
Get the memory page size This is a cached value of the system configuration value for the default size in bytes of a memory page.
state_e gnash::DiskStream::getState | ( | ) | [inline] |
Referenced by operator=().
state_e gnash::DiskStream::getState | ( | ) | [inline] |
DSOEXPORT boost::uint8_t* gnash::DiskStream::loadToMem | ( | ) | [inline] |
References loadToMem().
Referenced by loadToMem().
DSOEXPORT boost::uint8_t* gnash::DiskStream::loadToMem | ( | ) | [inline] |
References loadToMem().
Referenced by loadToMem(), play(), and seek().
DSOEXPORT boost::uint8_t* gnash::DiskStream::loadToMem | ( | size_t | filesize, | |
off_t | offset | |||
) |
Load a chunk of the file into memory This offset must be a multipe of the pagesize.
size | The amount of bytes to read, often the filesize for smaller files below CACHE_LIMIT. | |
offset | The location in bytes in the file of the desired data. |
DSOEXPORT boost::uint8_t* gnash::DiskStream::loadToMem | ( | off_t | offset | ) |
boost::uint8_t * gnash::DiskStream::loadToMem | ( | size_t | filesize, | |
off_t | offset | |||
) |
Load a chunk of the file into memory This offset must be a multipe of the pagesize.
size | The amount of bytes to read, often the filesize for smaller files below CACHE_LIMIT. | |
offset | The location in bytes in the file of the desired data. |
We only map memory in pages of pagesize, so if the offset is smaller than that, start at page 0.
If the data pointer is legit, then we need to unmap that page to mmap() a new one. If we're still in the current mapped page, then just return the existing data pointer.
We only map memory in pages of pagesize, so if the offset is smaller than that, start at page 0.
If the data pointer is legit, then we need to unmap that page to mmap() a new one. If we're still in the current mapped page, then just return the existing data pointer.
References _, __FUNCTION__, CLOCK_REALTIME, close(), errno, FILETYPE_FLV, free(), gnash::key::i, malloc(), MAP_FAILED, and cygnal::Flv::TAG_METADATA.
Referenced by main().
boost::uint8_t * gnash::DiskStream::loadToMem | ( | off_t | offset | ) |
Load a chunk (pagesize) of the file into memory. This loads a pagesize of the disk file into memory. We read the file this way as it is faster and takes less resources than read(), which add buffering we don't need. This offset must be a multipe of the pagesize.
size | The amount of bytes to read, often the filesize for smaller files below CACHE_LIMIT. | |
offset | The location in bytes in the file of the desired data. |
References loadToMem().
bool gnash::DiskStream::multicast | ( | const std::string & | filespec | ) |
bool gnash::DiskStream::multicast | ( | const std::string & | filespec | ) |
DSOEXPORT bool gnash::DiskStream::open | ( | const std::string & | filespec, | |
int | netfd, | |||
gnash::Statistics & | statistics | |||
) |
DSOEXPORT bool gnash::DiskStream::open | ( | const std::string & | filespec | ) |
Open a file to be streamed.
filespec | The full path and file name for the data to be read. The file must already exist. | |
netfd | An optional file descriptor to read data from | |
statistics | The optional data structure to use for collecting statistics on this stream. |
Referenced by main(), and writeToDisk().
DSOEXPORT bool gnash::DiskStream::open | ( | const std::string & | filespec | ) |
Open a file to be streamed.
filespec | The full path and file name for the data to be read. The file must already exist. | |
netfd | An optional file descriptor to read data from | |
statistics | The optional data structure to use for collecting statistics on this stream. |
DSOEXPORT bool gnash::DiskStream::open | ( | const std::string & | filespec, | |
int | netfd | |||
) |
DSOEXPORT bool gnash::DiskStream::open | ( | const std::string & | filespec, | |
int | netfd, | |||
gnash::Statistics & | statistics | |||
) |
DSOEXPORT bool gnash::DiskStream::open | ( | const std::string & | filespec, | |
int | netfd | |||
) |
DiskStream & gnash::DiskStream::operator= | ( | DiskStream * | stream | ) |
copy another DiskStream into ourselves, so they share data in memory.
References get(), getFileFd(), getFilespec(), getFileType(), getNetFd(), and getState().
DiskStream& gnash::DiskStream::operator= | ( | DiskStream * | stream | ) |
copy another DiskStream into ourselves, so they share data in memory.
bool gnash::DiskStream::pause | ( | ) |
Pause the stream currently being played.
References __PRETTY_FUNCTION__.
bool gnash::DiskStream::pause | ( | ) |
Pause the stream currently being played.
bool gnash::DiskStream::play | ( | ) |
Stream the file that has been loaded,.
netfd | An optional file descriptor to read data from | |
flag | True to play the entire file, false to play part. |
Referenced by play().
bool gnash::DiskStream::play | ( | bool | flag | ) |
bool gnash::DiskStream::play | ( | bool | flag | ) |
References play().
bool gnash::DiskStream::play | ( | ) |
Stream the file that has been loaded,.
netfd | An optional file descriptor to read data from | |
flag | True to play the entire file, false to play part. |
bool gnash::DiskStream::play | ( | int | netfd, | |
bool | flag | |||
) |
Stream the file that has been loaded,.
netfd | The file descriptor to use for operations | |
flag | True to only send the first packet, False plays entire file. |
netfd | The file descriptor to use for operations | |
flag | True to only send the first packet, False plays entire file. |
References __FUNCTION__, gnash::NetStats::addBytes(), close(), CLOSED, CREATED, DONE, errno, loadToMem(), MULTICAST, NO_STATE, OPEN, PAUSE, PLAY, PREVIEW, SEEK, THUMBNAIL, UPLOAD, and gnash::Network::writeNet().
bool gnash::DiskStream::play | ( | int | netfd, | |
bool | flag | |||
) |
bool gnash::DiskStream::preview | ( | const std::string & | filespec, | |
int | frames | |||
) |
Stream a preview of the file. A preview is a series of video frames from the video file. Each video frame is taken by sampling the file at a set interval.
filespec | The full path and file name for the data to be read. | |
quantity | The number of frames to stream.. |
bool gnash::DiskStream::preview | ( | const std::string & | filespec, | |
int | frames | |||
) |
Stream a preview of the file. A preview is a series of video frames from the video file. Each video frame is taken by sampling the file at a set interval.
filespec | The full path and file name for the data to be read. | |
quantity | The number of frames to stream.. |
boost::uint8_t* gnash::DiskStream::seek | ( | off_t | offset | ) |
Seek within the stream.
the | offset in bytes to the location within the file to seek to. |
boost::uint8_t * gnash::DiskStream::seek | ( | off_t | offset | ) |
Seek within the stream.
the | offset in bytes to the location within the file to seek to. |
References loadToMem().
void gnash::DiskStream::setFilespec | ( | std::string | filespec | ) | [inline] |
void gnash::DiskStream::setFilespec | ( | std::string | filespec | ) | [inline] |
void gnash::DiskStream::setPagesize | ( | size_t | size | ) | [inline] |
Set the memory page size This is a cached value of the system configuration value for the default size in bytes of a memory page.
size | The size of a page of memory to cache. |
void gnash::DiskStream::setPagesize | ( | size_t | size | ) | [inline] |
Set the memory page size This is a cached value of the system configuration value for the default size in bytes of a memory page.
size | The size of a page of memory to cache. |
void gnash::DiskStream::setState | ( | state_e | state | ) | [inline] |
void gnash::DiskStream::setState | ( | state_e | state | ) | [inline] |
bool gnash::DiskStream::thumbnail | ( | const std::string & | filespec, | |
int | quantity | |||
) |
Stream a series of thumbnails. A thumbnail is a series of jpg images of frames from the video file instead of video frames. Each thumbnail is taken by sampling the file at a set interval.
filespec | The full path and file name for the data to be read. | |
quantity | The number of thumbnails to stream.. |
bool gnash::DiskStream::thumbnail | ( | const std::string & | filespec, | |
int | quantity | |||
) |
Stream a series of thumbnails. A thumbnail is a series of jpg images of frames from the video file instead of video frames. Each thumbnail is taken by sampling the file at a set interval.
filespec | The full path and file name for the data to be read. | |
quantity | The number of thumbnails to stream.. |
bool gnash::DiskStream::upload | ( | const std::string & | filespec | ) |
Upload a file into a sandbox. The sandbox is an area where uploaded files can get written to safely. For SWF content, the file name also includes a few optional paths used to seperate applications from each other.
filespec | The file name for the data to be written. |
bool gnash::DiskStream::upload | ( | const std::string & | filespec | ) |
Upload a file into a sandbox. The sandbox is an area where uploaded files can get written to safely. For SWF content, the file name also includes a few optional paths used to seperate applications from each other.
filespec | The file name for the data to be written. |
bool gnash::DiskStream::writeToDisk | ( | const std::string & | filespec, | |
cygnal::Buffer & | data | |||
) |
References cygnal::Buffer::allocated(), cygnal::Buffer::reference(), and writeToDisk().
DSOEXPORT bool gnash::DiskStream::writeToDisk | ( | const std::string & | filespec, | |
boost::uint8_t * | data, | |||
size_t | size | |||
) |
Write the data in memory to disk.
filespec | The relative path to the file to write, which goes in a safebox for storage. | |
data | The data to be written | |
size | The amount of data in bytes to be written |
bool gnash::DiskStream::writeToDisk | ( | ) |
Write the data in memory to disk.
filespec | The relative path to the file to write, which goes in a safebox for storage. |
Referenced by writeToDisk().
bool gnash::DiskStream::writeToDisk | ( | const std::string & | filespec, | |
boost::uint8_t * | data, | |||
size_t | size | |||
) |
Write the data in memory to disk.
filespec | The relative path to the file to write, which goes in a safebox for storage. | |
data | The data to be written | |
size | The amount of data in bytes to be written |
References close(), errno, open(), and gnash::amf::write().
Referenced by cygnal::HTTPServer::processPostRequest().
bool gnash::DiskStream::writeToDisk | ( | const std::string & | filespec | ) |
References writeToDisk().
DSOEXPORT bool gnash::DiskStream::writeToDisk | ( | ) |
DSOEXPORT bool gnash::DiskStream::writeToDisk | ( | const std::string & | filespec | ) |
DSOEXPORT bool gnash::DiskStream::writeToDisk | ( | const std::string & | filespec, | |
cygnal::Buffer & | data | |||
) |
bool gnash::DiskStream::writeToNet | ( | int | start, | |
int | bytes | |||
) |
Write the existing data to the Network.
bool gnash::DiskStream::writeToNet | ( | int | start, | |
int | bytes | |||
) |
Write the existing data to the Network.