1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
22
23
24
25
26
27
28
29
34
40
41
/* ... */
#include "jdata_conf.h"
Includes
/* ... */
size_t read_file (JFILE *file, uint8_t *buf, uint32_t sizeofbuf)
{
static size_t BytesReadfile ;
f_read (file, buf , sizeofbuf, &BytesReadfile);
return BytesReadfile;
}{ ... }
size_t write_file (JFILE *file, uint8_t *buf, uint32_t sizeofbuf)
{
static size_t BytesWritefile ;
f_write (file, buf , sizeofbuf, &BytesWritefile);
return BytesWritefile;
}{ ... }