File: bi_util.mli

package info (click to toggle)
biniou 1.0.12-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 216 kB
  • sloc: ml: 1,808; makefile: 175
file content (15 lines) | stat: -rw-r--r-- 389 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(** Error handling etc. *)

exception Error of string
  (** Multipurpose exception normally raised when invalid data
      is found by a read or write operation. *)

val error : string -> 'a
  (** [error msg] is equivalent to [raise (Error msg)]. *)


(**/**)

val string8_of_int : int -> string
val string4_of_int : int -> string
val print_bits : ?pos:int -> ?len:int -> string -> string