Binary.readBlock3kaya
Read a block from a file.
Usage
Binary readBlock( File h, Int bsize )
Arguments
h A file handle to read from
bsize The maximum number of bytes to read
Overview
Creates a block of size bsize and reads data into it. If there is less data to read than bsize , the block will contain as much data as could be read, and the Binary.blockSize (3kaya) function will return the size of the data that was read. Naturally, the file handle must be valid and readable.
Releases
4 releases since Debian 5.0 (Lenny); the text changed 3 times.