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 |
|
Source [http] | https://github.com/yallop/ocaml-memcpy/archive/0.2.1.tar.gz sha256=078075871227349ed6c0ea07879cc5ae660fc9d1dd59025e57d5c7cfa48181eb md5=7179d425b277238f2844e8d94c27aade |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/memcpy/memcpy.0.2.1/opam |
No package is dependent