Sign in Join
FPDoc Onlineexperiment

TCustomBufDataset.GetNewWriteBlobBuffer function

Member of TCustomBufDatasetprotectedIn unit BufDataset

Creates a new Blob update buffer and adds it to the internal list.

Declaration

pascal
function GetNewWriteBlobBuffer: PBlobBuffer

Function result

Pointer to the memory allocated for the blob buffer.

Description

GetNewWriteBlobBuffer is a PBlobBuffer function used to create a new Blob update buffer, and to add it to the internal member used for Blob update buffers in the dataset. The return value is a PBlobBuffer type that is a pointer to the memory allocated for the blob buffer. The return value is filled with the value #0 using the number of bytes required for the blob buffer.

GetNewWriteBlobBuffer is very similar to GetNewBlobBuffer in operation, but does not set the value in the Origin Buffer ID for the PBlobBuffer pointer.

GetNewWriteBlobBuffer is used in the implementation of the Create method.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.