package mstruct

  1. Overview
  2. Docs
Mstruct is a thin mutable layer on top of cstruct

Install

Dune Dependency

Authors

Maintainers

Sources

v1.3.3.tar.gz
md5=a7ee7794d5ed082aeb2dfea6e0d8da5c

Description

# #require "mstruct";;
# let b = Mstruct.create 9;;
val b : Mstruct.t = <abstr>
# Mstruct.set_string b "hello";;
- : unit = ()
# Mstruct.set_uint32 b 32l;;
- : unit = ()

Published: 23 May 2017

README

Mstruct - a mutable interface to Cstruct buffers

Mutable cstruct buffers.

# #require "mstruct";;
# Log.set_log_level Log.DEBUG;;
# let b = Mstruct.create 9;;
val b : Mstruct.t = <abstr>
# Mstruct.set_string b "hello";;
- : unit = ()
# Mstruct.set_uint32 b 32l;;
- : unit = ()

Dependencies (3)

  1. cstruct >= "1.4.0"
  2. jbuilder >= "1.0+beta7"
  3. ocaml < "4.06.0"

Dev Dependencies

None

Used by (4)

  1. git < "2.0.0"
  2. irmin < "1.0.0"
  3. mirage-tc
  4. varint

Conflicts

None