This commit is contained in:
parent
630964dcb6
commit
cfa9788e7c
1 changed files with 2 additions and 5 deletions
|
|
@ -24,10 +24,7 @@ let ptime_add_span_exn p span =
|
||||||
(* -- *** -- *)
|
(* -- *** -- *)
|
||||||
|
|
||||||
(* TODO bin
|
(* TODO bin
|
||||||
- no [Bin.of_string] ?
|
- no [Bin.of_string] ? *)
|
||||||
- what to do with the int ref?
|
|
||||||
is it for signaling error? *)
|
|
||||||
let bin_of_string bin s =
|
let bin_of_string bin s =
|
||||||
let off = ref 0 in
|
let v = Bin.decode bin s (ref 0) in
|
||||||
let v = Bin.decode bin s off in
|
|
||||||
Ok v
|
Ok v
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue