Skip to content

Commit

Permalink
Add _exn variants to functions in In_channel
Browse files Browse the repository at this point in the history
  • Loading branch information
nojb committed Aug 14, 2021
1 parent 5a5c669 commit 21e06bf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions stdlib/in_channel.mli
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,28 @@ val close_noerr : t -> unit

val input_byte : t -> int option

val input_byte_exn : t -> int

val input_char : t -> char option

val input_char_exn : t -> char

val input_line : t -> string option

val input_line_exn : t -> string

val input_binary_int : t -> int option

val input_binary_int_exn : t -> int

val input : t -> bytes -> int -> int -> int

val really_input : t -> bytes -> int -> int -> unit option

val really_input_exn : t -> bytes -> int -> int -> unit

val really_input_string : t -> int -> string option

val really_input_string_exn : t -> int -> string

val set_binary_mode : t -> bool -> unit

0 comments on commit 21e06bf

Please sign in to comment.