Vanilla.PDF
2.0.0
Cross-platform toolkit for creating and modifying PDF documents
|
Represents memory stored data. More...
error_type CALLING_CONVENTION | Buffer_Create (BufferHandle **result) |
Creates a new buffer instance. | |
error_type CALLING_CONVENTION | Buffer_CreateFromData (string_type data, size_type size, BufferHandle **result) |
Creates a new buffer instance with specified data. | |
error_type CALLING_CONVENTION | Buffer_GetData (const BufferHandle *handle, string_type *data, size_type *size) |
Get data content from buffer. | |
error_type CALLING_CONVENTION | Buffer_SetData (BufferHandle *handle, string_type data, size_type size) |
Set new data content. | |
error_type CALLING_CONVENTION | Buffer_CopyTo (BufferHandle *handle, byte_array_type data, size_type size) |
Copy buffer data to the memory provided by the caller. | |
error_type CALLING_CONVENTION | Buffer_ToInputStream (const BufferHandle *handle, InputStreamHandle **result) |
Converts current buffer state to input stream. | |
error_type CALLING_CONVENTION | Buffer_Equals (const BufferHandle *handle, const BufferHandle *other, boolean_type *result) |
Compares two buffers by their value. | |
error_type CALLING_CONVENTION | Buffer_Hash (const BufferHandle *handle, size_type *result) |
Get object hash code. | |
error_type CALLING_CONVENTION | Buffer_ToUnknown (BufferHandle *handle, IUnknownHandle **result) |
Reinterpret current object as IUnknownHandle. | |
error_type CALLING_CONVENTION | Buffer_FromUnknown (IUnknownHandle *handle, BufferHandle **result) |
Convert IUnknownHandle to BufferHandle. | |
error_type CALLING_CONVENTION | Buffer_Release (BufferHandle *handle) |
Decrement the internal reference counter. | |
Additional Inherited Members | |
Public Member Functions inherited from IUnknownHandle | |
error_type CALLING_CONVENTION | IUnknown_AddRef (IUnknownHandle *handle) |
Increment the internal reference counter. | |
Related Symbols inherited from IUnknownHandle | |
error_type CALLING_CONVENTION | IUnknown_Release (IUnknownHandle *handle) |
Decrement the internal reference counter. | |
Represents memory stored data.
|
related |
Decrement the internal reference counter.
When the internal counter reaches zero the object is deleted. Releasing already disposed object causes undefined behavior.