Vanilla.PDF  1.6.0
Cross-platform toolkit for creating and modifying PDF documents
List of all members
OutputStreamHandle Class Reference

Output stream can write sequences of characters and represent other kinds of data. More...

Inheritance diagram for OutputStreamHandle:
IUnknownHandle InputOutputStreamHandle
error_type CALLING_CONVENTION OutputStream_CreateFromFile (string_type filename, OutputStreamHandle **result)
 Creates a new file at filename location and opens it for writing.
 
error_type CALLING_CONVENTION OutputStream_GetOutputPosition (OutputStreamHandle *handle, offset_type *result)
 Gets current offset in the output stream.
 
error_type CALLING_CONVENTION OutputStream_SetOutputPosition (OutputStreamHandle *handle, offset_type value)
 Sets current offset in the output stream.
 
error_type CALLING_CONVENTION OutputStream_WriteString (OutputStreamHandle *handle, string_type data)
 Appends null terminated string data to current output stream instance.
 
error_type CALLING_CONVENTION OutputStream_WriteBuffer (OutputStreamHandle *handle, BufferHandle *data)
 Appends buffer data to current output stream instance.
 
error_type CALLING_CONVENTION OutputStream_Flush (OutputStreamHandle *handle)
 Flushes all pending data from the stream to it's destination.
 
error_type CALLING_CONVENTION OutputStream_ToUnknown (OutputStreamHandle *handle, IUnknownHandle **result)
 Reinterpret current object as IUnknownHandle.
 
error_type CALLING_CONVENTION OutputStream_FromUnknown (IUnknownHandle *handle, OutputStreamHandle **result)
 Convert IUnknownHandle to OutputStreamHandle.
 
error_type CALLING_CONVENTION OutputStream_Release (OutputStreamHandle *handle)
 Decrement the internal reference counter. More...
 

Additional Inherited Members

- Public Member Functions inherited from IUnknownHandle
error_type CALLING_CONVENTION IUnknown_AddRef (IUnknownHandle *handle)
 Increment the internal reference counter.
 

Detailed Description

Output stream can write sequences of characters and represent other kinds of data.

Examples
extract.c, filter.c, and write_custom.c.

Friends And Related Function Documentation

◆ OutputStream_Release()

error_type CALLING_CONVENTION OutputStream_Release ( OutputStreamHandle handle)
related

Decrement the internal reference counter.

When the internal counter reaches zero the object is deleted. Releasing already disposed object causes undefined behavior.

See also
IUnknown_Release
Examples
extract.c, filter.c, and write_custom.c.

The documentation for this class was generated from the following file: