What if I call SLD_RWops->write and the buffer exceeds? Thanks.
– Cheng
What if I call SLD_RWops->write and the buffer exceeds? Thanks.
– Cheng
What if I call SLD_RWops->write and the buffer exceeds? Thanks.
Exceeds what? In a memory-based RWops, there is no bounds checking; don’t
write more than you originally allocated for.
In a file-based RWops, the written data goes through to a file, so there’s
no where for there to be an overflow.
Perhaps I’m misunderstanding?
–ryan.