mte/src/util.ml

6 lines
112 B
OCaml
Raw Normal View History

2025-10-17 15:25:10 +02:00
(* TODO bin
- no [Bin.of_string] ? *)
let bin_of_string bin s =
let v = Bin.decode bin s (ref 0) in
Ok v