/* The modules that use fread() and fwrite() always invoke them through these macros. On some systems you may need to twiddle the argument casts. CAUTION: argument order is different from underlying functions!  */
size_t read_file(JFILE *file, uint8_t *buf, uint32_t sizeofbuf)
/* The modules that use fread() and fwrite() always invoke them through these macros. On some systems you may need to twiddle the argument casts. CAUTION: argument order is different from underlying functions!  */
size_t read_file(JFILE *file, uint8_t *buf, uint32_t sizeofbuf)
{
  static size_t BytesReadfile ;  
  f_read (file, buf , sizeofbuf, &BytesReadfile); 
  return BytesReadfile; 
}