package memcpy
Safe and efficient copying between blocks of memory.
Install
Dune Dependency
Authors
Maintainers
Sources
0.2.0.tar.gz
sha256=753ede24a83947ae71c145f656dfdf0d3d71327a9ca9018ee696139c3e4231c0
md5=5065f478cbb3cfda54f1231abaf9c0b1
Description
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.
Dependencies (4)
-
ocamlbuild
build
-
ocamlfind
build
-
ctypes
>= "0.4.0" & < "0.12.0"
-
ocaml
>= "4.01.0"
Dev Dependencies (1)
-
ounit
with-test
Used by
None
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page