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

Represents memory stored data. More...

Inheritance diagram for BufferHandle:
IUnknownHandle
error_type Buffer_Create (BufferHandle **result)
 Creates a new buffer instance.
 
error_type Buffer_GetData (const BufferHandle *handle, string_type *data, size_type *size)
 Get data content from buffer.
 
error_type Buffer_SetData (BufferHandle *handle, string_type data, size_type size)
 Set new data content.
 
error_type Buffer_ToInputStream (const BufferHandle *handle, InputStreamHandle **result)
 Converts current buffer state to input stream.
 
error_type Buffer_Equals (const BufferHandle *handle, const BufferHandle *other, boolean_type *result)
 Compares two buffers by their value.
 
error_type Buffer_Hash (const BufferHandle *handle, size_type *result)
 Get object hash code.
 
error_type Buffer_ToUnknown (BufferHandle *handle, IUnknownHandle **result)
 Reinterpret current object as IUnknownHandle.
 
error_type Buffer_FromUnknown (IUnknownHandle *handle, BufferHandle **result)
 Convert IUnknownHandle to BufferHandle.
 
error_type Buffer_Release (BufferHandle *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

Represents memory stored data.

Examples:
extract.c, filter.c, and sign_custom.c.

Friends And Related Function Documentation

◆ Buffer_Release()

error_type Buffer_Release ( BufferHandle 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, and filter.c.

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