Commit graph

15 commits

Author SHA1 Message Date
Ludovic Chenut
b42daf41d8
Replace unsafeAddr by baseAddr (#32)
* Replace unsafeAddr xxx[0] by baseAddr(xxx)

* Fix styleCheck:usages

* Update CI conf

* Fix charsToBytes

* Fix outputs write

* Add test
2022-11-24 12:55:42 +01:00
Jacek Sieka
5ec974ed1a
Normalise nimble (#36)
* normalise nimble file, ci / deprecation fixes

* other deprecations
2022-11-23 16:27:20 +01:00
Jacek Sieka
cf9074b2f4
add test for runways 2022-04-04 13:12:59 +02:00
Zahary Karadjov
37a183153c
Fix the CI; Improve docs 2022-01-22 20:01:20 +02:00
Zahary Karadjov
5a7d1d196f
Add OutputStream.getWritableBytes(n) 2022-01-22 19:02:41 +02:00
Zahary Karadjov
94fa3fab8c Review 371e60b17c and apply fixes 2022-01-22 16:19:56 +02:00
Ștefan Talpalaru
371e60b17c
CI: test with multiple Nim versions (#23)
* CI: test with multiple Nim versions

* fix readIntoExImpl() when premature EOF is triggered on some Windows versions
* also fix some unrelated pointer math
2022-01-05 23:22:53 +01:00
Zahary Karadjov
1b561a9e71 Add support for writing cstrings 2021-11-04 11:54:55 +02:00
Jacek Sieka
3a0ab42573
Don't import/export chronos by default (#20)
Chronos support is optional and should not have to be imported in order
to use faststreams for non-async use cases, as doing so pollutes the
global namespace and slows down compilation.

`async` support must now explicitly be enabled with
-d:async_backend=chronos|asyncdispatch
2021-08-20 14:10:26 +03:00
Zahary Karadjov
92205d608b
Fix #14 (don't use alloca) 2021-01-06 21:20:27 +02:00
Zahary Karadjov
5d7cad792f
Add tests for delayed var-size writes 2020-05-25 11:33:56 +03:00
John Dupuy
5e17ffae3a Fixed output for writeText(s,float) and added unit test 2020-05-15 19:48:28 +03:00
Zahary Karadjov
cb36a6d4db
Implement the async pipelines and fsMultiSync 2020-05-05 02:49:39 +03:00
Zahary Karadjov
bf930b6f1b
Implement readInto and read(n) 2020-05-03 04:35:34 +03:00
Zahary Karadjov
b24300bd3f
Address review comments; Add documentation; Shared buffering mechanism for input and output streams 2020-05-01 19:12:58 +03:00