Vanilla.PDF
1.3.0
Cross-platform toolkit for creating and modifying PDF documents
|
Input stream can read and interpret input from sequences of characters. More...
error_type | IInputStream_CreateFromFile (string_type filename, IInputStreamHandle **result) |
Opens an existing file at filename for read. | |
error_type | IInputStream_CreateFromBuffer (BufferHandle *data, IInputStreamHandle **result) |
Reads all data from buffer and stores them for later use. More... | |
error_type | IInputStream_ToBuffer (IInputStreamHandle *handle, BufferHandle **result) |
Reads all data from the input stream and returns them as a single large buffer. More... | |
error_type | IInputStream_GetInputPosition (IInputStreamHandle *handle, offset_type *result) |
Gets current offset in the input stream. | |
error_type | IInputStream_SetInputPosition (IInputStreamHandle *handle, offset_type value) |
Sets current offset in the input stream. | |
error_type | IInputStream_Release (IInputStreamHandle *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. | |
Related Functions inherited from IUnknownHandle | |
error_type | IUnknown_Release (IUnknownHandle *handle) |
Decrement the internal reference counter. More... | |
Input stream can read and interpret input from sequences of characters.
|
related |
Reads all data from buffer and stores them for later use.
This method does not reflect buffer updates after it has been called. Only current snapshot of the buffer state is stored in the stream.
|
related |
Reads all data from the input stream and returns them as a single large buffer.
This method is not recommended for large files, as the process might not have enough memory.
|
related |
Decrement the internal reference counter.
When the internal counter reaches zero the object is deleted. Releasing already disposed object causes undefined behavior.