[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'db' (#fcl)

# TBlobField.SaveToStream

Save the field's contents to stream

## Declaration

Source position: db.pas line 871

`public procedure TBlobField.SaveToStream(`
`Stream: TStream`
`);`

## Arguments

`Stream` |  | Stream to save data to

## Description

SaveToStream can be used to save the contents of the field to a TStream descendent. The entire data of the field will be copied. The stream must of course support writing.

## Errors

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

## See also

SaveToFile |  | Save field contents to a file
LoadFromStream |  | Load the field's contents from stream

The latest version of this document can be found at lazarus-ccr.sourceforge.net .