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
jbuilder>= 1.0+beta7
PublishedMay 23, 2017
Source [http] https://github.com/mirage/ocaml-mstruct/archive/v1.3.3.tar.gz
a7ee7794d5ed082aeb2dfea6e0d8da5c
StatisticsInstalled 6 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/mstruct/mstruct.1.3.3/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