JAVA/CORBA CLASSES


read method
Example

Reads bytes from a stream.

Defined in

Stream

Syntax

public byte[] read()
   throws NotesException

public byte[] read(int length)
   throws NotesException

Parameters

int length


Return value

byte[]


Usage

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

Language cross-reference

Read method in LotusScript NotesStream class

Example