mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-29 14:44:03 +03:00
0a246af449
Meaning that the FFI is aware of it, so you can send arbitrary byte data to foreign calls. Fixes #209 This means that we no longer need the hacky way of reading and writing binary data via scheme, so can have a more general interface for reading and writing buffer data in files. It will also enable more interesting high level interfaces to binary data, with C calls being used where necessary. Note that the Buffer primitive are unsafe! They always have been, of course... so perhaps (later) they should have 'unsafe' as part of their name and better high level safe interfaces on top. This requires updating the scheme to support Buffer as an FFI primitive, but shouldn't affect Idris2-boot which loads buffers its own way. |
||
---|---|---|
.. | ||
windows | ||
.gitignore | ||
getline.c | ||
getline.h | ||
idris_buffer.c | ||
idris_buffer.h | ||
idris_directory.c | ||
idris_directory.h | ||
idris_file.c | ||
idris_file.h | ||
idris_net.c | ||
idris_net.h | ||
idris_support.c | ||
idris_support.h | ||
Makefile |