Sign in Join
FPDoc Onlineexperiment

TCustomBufDataset.GetNewBlobBuffer function

Member of TCustomBufDatasetprotectedIn unit BufDataset

Creates a new Blob buffer and adds it to the internal Blob buffers member.

Declaration

pascal
function GetNewBlobBuffer: PBlobBuffer

Function result

Pointer to the memory allocated for the blob buffer.

Description

GetNewBlobBuffer is a PBlobBuffer function used to create a new Blob buffer, and to add it to the internal member used for Blob 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.

GetNewBlobBuffer is used in the implementation of the Create and LoadBuffer methods, and in the RestoreBlobField method in TDataPacketReader.

See also

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