mstruct

Author Thomas Gazagnaire
License ISC
Homepage https://github.com/mirage/ocaml-mstruct
Issue Tracker https://github.com/mirage/ocaml-mstruct/issues
Maintainer thomas@gazagnaire.org
Dependencies
& cstruct >= 1.4.0
ocamlbuild
Published Dec 19, 2014
Source [http] http://github.com/mirage/ocaml-mstruct/archive/1.3.2.tar.gz
52cfd548d17b414a8a02a308e0331869
Statistics Installed 354 times in last month.
Edit https://github.com/ocaml/opam-repository/tree/master/packages/mstruct/mstruct.1.3.2/opam

Mstruct is a thin mutable layer on top of cstruct

# #require "mstruct";;
# let b = Mstruct.create 9;;
val b : Mstruct.t = <abstr>
# Mstruct.set_string b "hello";;
- : unit = ()
# Mstruct.set_uint32 b 32l;;
- : unit = ()
Necessary for
git
irmin
1.0.0
mirage-tc