Refactor IO, add buffered IO

I wasn't happy with existing implementation of the IO, so I decided
to change it - as a result there is no longer BH_IOOpen and BH_IOClose
and many IO operations are now optional (behind BH_IOCtl).

Finnally implemented buffered IO and fixed size memory buffer IO.
This commit is contained in:
2025-04-26 07:50:13 +03:00
parent 48ddd91dd4
commit 1b6c858a1b
16 changed files with 1473 additions and 1122 deletions

View File

@@ -80,6 +80,8 @@ endif()
set(BH_SOURCE
src/Algo.c
src/Args.c
src/Buffer.c
src/Bytes.c
src/Hashmap.c
src/IO.c
src/Math/Box2f.c