ArcBasicDocs

ReadBytes

Reads bytes into a bank.

ReadBytes ( bank,stream,offset,count )

Parameters

bank
the bank to fill.
stream
the file or stream's handle.
offset
where in the bank to put them, counting from 0.
count
how many bytes to read.

Description

Reads bytes from a file or stream straight into a bank, and gives back how many it read, which can be fewer than asked for at the end of a file.

See also