memcpyversion
Safe and efficient copying between blocks of memory.
There are several ways of storing and accessing blocks of memory in an OCaml program, including
- bytes and string values for mutable and immutable strings that reside in the OCaml heap
- bigarray values for reference-counted blocks that reside in the OCaml heaps
- Ctypes ptr values that can be used to address arbitrary addresses using typed descriptions of the memory layout.
- Ctypes array values that provide bounds-checked access to ptr-addressed memory.
The Memcpy module provides functions for safely and efficiently copying blocks of memory between these different representations.
Tags | org:mirage |
---|---|
Author | yallop@gmail.com |
License | MIT |
Published | |
Homepage | https://github.com/yallop/ocaml-memcpy |
Issue Tracker | http://github.com/yallop/ocaml-memcpy/issues |
Maintainer | yallop@gmail.com |
Dependencies | |
Conflicts | |
Source [http] | https://github.com/yallop/ocaml-memcpy/archive/0.2.2.tar.gz sha256=eae04cb98d019ec7e22ee52e8ecbef0a4f5266fa5ff8278e7823006f4eb90337 md5=fb9e5a03cbda062c7a7f509f8e73cd7c |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/memcpy/memcpy.0.2.2/opam |
No package is dependent