|
Re: RE: Img library - io_open(IO_MEM, IO_WRITE, ...)
|
12/01/2017 10:40 AM
post118257
|
Re: RE: Img library - io_open(IO_MEM, IO_WRITE, ...)
Thank you for fast response.
I would like to do it myself.
In particular - how to properly initialize
struct _io_bstream {
io_stream_t stream;
unsigned flags;
_uint8 *buf;
unsigned bufsiz, buf_pos, buf_nleft;
unsigned pos, nleft;
io_close_f *close_f;
}
in my version of "io_open_f()"?
I have tried but it does not work properly (perhaps flags or sizes not set properly).
Is there doc or example?
|
|
|