package mstruct

  1. Overview
  2. Docs
A mutable interface to Cstruct buffers

Install

Dune Dependency

Authors

Maintainers

Sources

mstruct-1.4.0.tbz
sha256=532780f924295e13ab16c785f0bb48e1db34db5dcd0c1ecbd232c3413918cdae
md5=67382e1d5418f081f1455e03d5959b5f

Description

Mutable cstruct buffers.

Published: 05 Nov 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 >= "2.4.0" & < "6.1.0"
  2. jbuilder >= "1.0+beta9"
  3. ocaml

Dev Dependencies

None

Used by (4)

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

Conflicts

None

OCaml

Innovation. Community. Security.