The read_byte_from_file (char *xd) function needs to be updated to improve speed.
Ideally, it would open the file once and maintain the file pointer rather than having to use the ftell and fseek commands every time that a byte is read.
This would be an ideal little challenge for those looking to use this code.
The read_byte_from_file (char *xd) function needs to be updated to improve speed.
Ideally, it would open the file once and maintain the file pointer rather than having to use the ftell and fseek commands every time that a byte is read.
This would be an ideal little challenge for those looking to use this code.