Bytes (NotesStream - LotusScript®)

Read-only. The size of the stream in bytes.

Defined in

NotesStream

Data type

Long

Syntax

To get: bytes& = notesStream .Bytes

Usage

This property is 0 for a new stream.

Open sets this property to:

  • 0 for a new file.
  • the number of bytes in the file for an existing file.

Write and WriteText increment this property by the number of bytes written to the stream.

The size excludes any detected Unicode signatures or byte order marks.

Example