package memcpy

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.2.2.tar.gz
sha256=eae04cb98d019ec7e22ee52e8ecbef0a4f5266fa5ff8278e7823006f4eb90337
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

Added to opam-repository:

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

Optional Dependencies

None

Used by

None

Build status

Results of building memcpy with each compiler on check.ci.ocaml.org, run of against opam-repository 8d8d144. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

This version is not in the latest run; the versions below are.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.3.0 good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure