Write (NotesStream - LotusScript®)

Writes bytes to a stream.

Defined in

NotesStream

Syntax

bytes& = notesStream .Write( buffer )

Parameters

buffer

Variant array. The bytes to write, to a maximum of 65535.

Return value

bytes&

Long. The number of bytes written.

Usage

This method appends the bytes to the end of the stream.

This method raises an error if the stream is read-only. See IsReadOnly.

When a stream is written, property values are:

  • Bytes is incremented by the number of bytes read
  • IsEOS is True
  • Position is set at end of stream

Example