Read (NotesStream - LotusScript®)

Reads bytes from a stream.

Defined in

NotesStream

Syntax

buffer = notesStream .Read( [ length& ] )

Parameters

length&

Long. The number of bytes to read to a maximum of 65535. Defaults to the number of bytes in the stream starting at the current position to a maximum of 65535.

Return value

buffer

Variant array. The bytes read. The lower bound of the array is 0, except that if the number of bytes read is greater than 32767, the lower bound is -32768.

Usage

This method starts at Position and reads the number of bytes specified or the number of bytes left in the stream.

Example