NBO bin.t only; rename time modules

This commit is contained in:
swrup 2026-02-24 17:51:30 +01:00
parent 4f473c003a
commit 7fe11c2db3
13 changed files with 306 additions and 359 deletions

View file

@ -110,14 +110,6 @@ let make_exn value fraction currency =
| Ok v -> v
let bin =
let open Bin in
record make_exn
|+ field neint64 (fun t -> t.value)
|+ field neint32 (fun t -> t.fraction)
|+ field (bytes currency_len) (fun t -> pad_currency_string t.currency)
|> sealr
let bin_nbo =
let open Bin in
record make_exn
|+ field beint64 (fun t -> t.value)