Debenu Quick PDF logo

StoreBuffer

Version history

This function is not available from Quick PDF Library version 7.11.

The CreateBuffer, AddToBuffer and ReleaseBuffer functions should be used instead.

Description

This function is only available in the DLL edition. It adds a chunk of data to the buffer which was created with a call to the BeginBuffer function.

Definition

function StoreBuffer(NewData As String, DataLength As Long) As Long

Parameters

NewData A pointer to the first byte of this chunk of data.
DataLength The length of this chunk.

Returns

0 The buffer was not valid.
Non-zero The total number of bytes added to the buffer, including all previous chunks.