Add memory buffer support

* Avoid using temporary files when possible
* Add support for writing to a buffer

PR #382
This commit is contained in:
Mohamed Akram 2022-11-10 13:15:28 +04:00 committed by John McNamara
parent 07c67b504c
commit 5097c0e41f
31 changed files with 339 additions and 72 deletions

View file

@ -12,7 +12,7 @@ jobs:
cmake_flags: ["",
"-DBUILD_EXAMPLES=ON -DBUILD_TESTS=ON",
"-DUSE_DTOA_LIBRARY=ON -DBUILD_TESTS=ON",
"-DUSE_FMEMOPEN=ON -DBUILD_TESTS=ON",
"-DUSE_MEM_FILE=ON -DBUILD_TESTS=ON",
"-DUSE_NO_MD5=ON -DBUILD_TESTS=ON",
"-DUSE_OPENSSL_MD5=ON -DBUILD_TESTS=ON",
"-DUSE_STANDARD_TMPFILE=ON -DBUILD_TESTS=ON",

View file

@ -15,7 +15,7 @@ jobs:
"USE_DTOA_LIBRARY=1",
"USE_NO_MD5=1",
"USE_OPENSSL_MD5=1",
"USE_FMEMOPEN=1"]
"USE_MEM_FILE=1"]
runs-on: ubuntu-latest
env:
CC: ${{ matrix.cc }}