mstruct

AuthorThomas Gazagnaire
LicenseISC
Homepagehttps://github.com/mirage/ocaml-mstruct
Issue Trackerhttps://github.com/mirage/ocaml-mstruct/issues
Maintainerthomas@gazagnaire.org
Dependencies
&cstruct>= 1.4.0
ocamlbuild
PublishedDec 19, 2014
Source [http] https://github.com/mirage/ocaml-mstruct/archive/1.3.2.tar.gz
52cfd548d17b414a8a02a308e0331869
StatisticsInstalled 2 times last month.
Edithttps://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