Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

mirage/ocaml-mstruct

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 = ()