package memcpy

  1. Overview
  2. Docs
Safe and efficient copying between blocks of memory.

Install

Dune Dependency

Authors

Maintainers

Sources

0.2.2.tar.gz
md5=fb9e5a03cbda062c7a7f509f8e73cd7c

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.

Tags

org:mirage

Published: 24 Jul 2023

Dependencies (4)

  1. ocamlbuild build
  2. ocamlfind build
  3. ctypes >= "0.12.0"
  4. ocaml >= "4.01.0"

Dev Dependencies (2)

  1. ounit with-test
  2. ocaml >= "4.08.0" & with-test

Used by

None