BinaryFile.readBlockFrom(name,maxBlockSize)

Reads a binary file up to a specified amount of bytes. For example: // Reads the first 10 bytes and returns it in "bintxt2) bintxt2 = BinaryFile.readBlockFrom(name : "/tmp/myBinaryFile.bin", maxBlockSize : 10)

Arguments:

Name Type Description Mode
name String file name. in
maxBlockSize Int read up to this amount of bytes. in