package extlib

  1. Overview
  2. Docs
exception Invalid_char
exception Invalid_table
type encoding_table = char array
type decoding_table = int array
val str_encode : ?tbl:encoding_table -> string -> string
val str_decode : ?tbl:decoding_table -> string -> string
val encode : ?tbl:encoding_table -> 'a IO.output -> 'a IO.output
val decode : ?tbl:decoding_table -> IO.input -> IO.input
val make_decoding_table : encoding_table -> decoding_table