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

Additional Inherited Members

- Public Member Functions inherited from IUnknownHandle
error_type 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 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: