Output Stream for writing files.
More...
#include <CineonStream.h>
Output Stream for writing files.
file pointing positioning offset
| Enumerator |
|---|
| kStart |
beginning of the file
|
| kCurrent |
current file pointer
|
| kEnd |
end of the file
|
| OutStream::~OutStream |
( |
| ) |
|
|
virtual |
| void OutStream::Close |
( |
| ) |
|
|
virtual |
| void OutStream::Flush |
( |
| ) |
|
|
virtual |
| bool OutStream::Open |
( |
const char * |
fn | ) |
|
|
virtual |
Open file.
- Parameters
-
- Returns
- success true/false
| bool OutStream::Seek |
( |
long |
offset, |
|
|
Origin |
origin |
|
) |
| |
|
virtual |
Seek to a position in the file.
- Parameters
-
| offset | offset from originating position |
| origin | originating position |
- Returns
- success true/false
| size_t OutStream::Write |
( |
void * |
buf, |
|
|
const size_t |
size |
|
) |
| |
|
virtual |
Write data to file.
- Parameters
-
| buf | data buffer |
| size | bytes to write |
- Returns
- number of bytes written
The documentation for this class was generated from the following files:
- /tmp/B.92ecc562-e5e3-49c8-b0a5-c7c9dfb207f9/BUILD/libcineon/libcineon/CineonStream.h
- /tmp/B.92ecc562-e5e3-49c8-b0a5-c7c9dfb207f9/BUILD/libcineon/libcineon/OutStream.cpp