Source

ocaml-bert / termreader.ml

Diff from to

File termreader.ml

 	  [print_termfile "termwriter.bert"];
       | list -> 
 	  List.map print_termfile list;;
+
+let _ = 
+  let str = String.create 64 in
+  let i = Bert.encode_int 774567 str 0 in
+  let j = Bert.encode_float 234.354 str i in
+    Bert.print_binary_string str;
+(*    print_endline str; *)
+    j;;