Top index Wirbel home

fs::mustread

file.mustread(int) - read exact number of bytes from a file

file.mustread(int) does much the same as read, but reads exactly the number of specified bytes. If less bytes are available an exception is raised. If this method returns without exception, it has read exactly the specified number of bytes.