Skip to content

TParam.SetBlobData

Set BLOB data.

Declaration

Source position: db.pas line 1465

public 
procedure TParam.SetBlobData(Buffer: Pointer; ASize: Integer);

Description

SetBlobData reads the value of a BLOB type parameter from a memory buffer: the data is read from the memory buffer Buffer and is assumed to be Size bytes long.

Errors

No checking is performed on the validity of the data buffer. If the data buffer is invalid or the size is wrong, an exception may occur.

See also

Name Description
TParam.LoadFromStream Load a parameter value from stream.