git.annexia.org
/
ocaml-bitstring.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Move more common bithandling code into I/I32/I64 modules.
[ocaml-bitstring.git]
/
tests
/
10_constr2.ml
1
(* Test a simple constructor.
2
* $Id: 10_constr2.ml,v 1.1 2008-04-02 11:06:07 rjones Exp $
3
*)
4
5
let version = 1 ;;
6
let data = 10 ;;
7
let bits =
8
BITSTRING
9
version : 4;
10
data : 12 ;;
11
12
Bitmatch.hexdump_bitstring stdout bits ;;