Create blob stream.
Source position: db.pas line 1903
public function TDataSet.CreateBlobStream( |
Field: TField; |
Mode: TBlobStreamMode |
):TStream; virtual; |
Field |
|
BLOB Field for which data should be fetched/written. |
Mode |
|
Mode: read or write. |
Stream with (for) blob data.
CreateBlobStream is not intended for use by application programmers. It creates a stream object which can be used to read or write data from a blob field. Instead, application programmers should use the TBlobField.LoadFromStream and TBlobField.SaveToStream methods when reading and writing data from/to BLOB fields. Which operation must be performed on the stream is indicated in the Mode parameter, and the Field parameter contains the field whose data should be read. The caller is responsible for freeing the stream created by this function.
|
Load the field's contents from stream. |
|
|
Save the field's contents to stream. |