Stream Format

The Format of a stream indicates the structure of the stream data. The flag LCSTREAMFMTF_BINARY indicates whether the stream is of a binary format or a text format.

Text formats are represented by either a character set constant or the following special value:

Parameter

Description

LCSTREAMFMT_NATIVE

The same as the native character set of the local machine.

For a complete list of supported character sets, see Appendix D.

Binary formats must be one of the following values:

Value

Description

LCSTREAMFMT_BLOB

Unformatted (BLOB = Binary Large Object)

LCSTREAMFMT_COMPOSITE

Notes® format Composite (also known as Rich Text or Compound Text)

LCSTREAMFMT_TEXT_LIST

Notes® format Text List (multivalue list of text values)

LCSTREAMFMT_NUMBER_LIST

Notes® format Number List (multivalue list of number values and ranges)

LCSTREAMFMT_DATETIME_LIST

Notes® format Datetime List (multivalue list of datetime values and ranges)

Conversion is supported between stream formats excluding certain conversions. If composite is involved in a conversion, it must be the source and the target must be BLOB or a text format. In addition, conversion between number list and datetime list is not supported.

Stream Buffer

The maximum length of a stream indicates the maximum valid length in bytes for a value assigned to this stream. This can be any value up to 4GB.

A value of zero indicates that the stream has no maximum length.