Sign in Join
FPDoc Onlineexperiment

TBlobField.LoadFromStream procedure

Member of TBlobFieldpublicIn unit DB

Load the field's contents from stream.

Declaration

pascal
procedure LoadFromStream(Stream: TStream)

Arguments

Stream

Stream instance to load data from.

Description

LoadFromStream can be used to load the contents of the field from a TStream descendent. The entire data of the stream will be copied, and the stream will be positioned on the first byte of data, so it must be seekable.

Errors

If the stream is not seekable, an exception will be raised.

See also

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