Reads a specified number of bytes from an InStream object. Data is read in binary format.
[Read := ] InStream.Read(Variable[, Length]) |
Parameters
- Variable
-
Describes the variable that will receive the data that is read.
- Length
-
Describes the number of characters to be read. If you do not specify Length, the size of the variable is used. In the case of data types other than string, code, and binary, if you specify a length that differs from the size of the variable, an error message appears.