sig
module Base64 :
sig
val encode :
?pos:int ->
?len:int ->
?linelength:int ->
?crlf:bool -> ?plus:char -> ?slash:char -> string -> string
val encode_tstring :
?pos:int ->
?len:int ->
?linelength:int ->
?crlf:bool ->
?plus:char -> ?slash:char -> Netsys_types.tstring -> Stdlib.Bytes.t
val encode_poly :
?pos:int ->
?len:int ->
?linelength:int ->
?crlf:bool ->
?plus:char ->
?slash:char ->
's Netstring_tstring.tstring_ops -> 's -> Stdlib.Bytes.t
val decode :
?pos:int ->
?len:int ->
?accept_spaces:bool -> ?plus:char -> ?slash:char -> string -> string
val decode_tstring :
?pos:int ->
?len:int ->
?accept_spaces:bool ->
?plus:char -> ?slash:char -> Netsys_types.tstring -> Stdlib.Bytes.t
val decode_poly :
?pos:int ->
?len:int ->
?accept_spaces:bool ->
?plus:char ->
?slash:char ->
's Netstring_tstring.tstring_ops -> 's -> Stdlib.Bytes.t
class encoding_pipe :
?linelength:int ->
?crlf:bool -> ?plus:char -> ?slash:char -> unit -> Netchannels.pipe
class decoding_pipe :
?accept_spaces:bool ->
?plus:char -> ?slash:char -> unit -> Netchannels.pipe
end
module QuotedPrintable :
sig
val encode : ?crlf:bool -> ?pos:int -> ?len:int -> string -> string
val encode_tstring :
?crlf:bool ->
?pos:int -> ?len:int -> Netsys_types.tstring -> Stdlib.Bytes.t
val encode_poly :
?crlf:bool ->
?pos:int ->
?len:int -> 's Netstring_tstring.tstring_ops -> 's -> Stdlib.Bytes.t
val decode : ?pos:int -> ?len:int -> string -> string
val decode_tstring :
?pos:int -> ?len:int -> Netsys_types.tstring -> Stdlib.Bytes.t
val decode_poly :
?pos:int ->
?len:int -> 's Netstring_tstring.tstring_ops -> 's -> Stdlib.Bytes.t
class encoding_pipe : ?crlf:bool -> unit -> Netchannels.pipe
class decoding_pipe : unit -> Netchannels.pipe
end
module Q :
sig
val encode : ?pos:int -> ?len:int -> string -> string
val encode_tstring :
?pos:int -> ?len:int -> Netsys_types.tstring -> Stdlib.Bytes.t
val encode_poly :
?pos:int ->
?len:int -> 's Netstring_tstring.tstring_ops -> 's -> Stdlib.Bytes.t
val decode : ?pos:int -> ?len:int -> string -> string
val decode_tstring :
?pos:int -> ?len:int -> Netsys_types.tstring -> Stdlib.Bytes.t
val decode_poly :
?pos:int ->
?len:int -> 's Netstring_tstring.tstring_ops -> 's -> Stdlib.Bytes.t
end
module Url :
sig
val decode : ?plus:bool -> ?pos:int -> ?len:int -> string -> string
val encode : ?plus:bool -> string -> string
val mk_url_encoded_parameters : (string * string) list -> string
val dest_url_encoded_parameters : string -> (string * string) list
end
module Html :
sig
val encode_from_latin1 : string -> string
val decode_to_latin1 : string -> string
val unsafe_chars_html4 : string
val encode :
in_enc:Netconversion.encoding ->
?out_enc:Netconversion.encoding ->
?prefer_name:bool -> ?unsafe_chars:string -> unit -> string -> string
val encode_tstring :
in_enc:Netconversion.encoding ->
out_kind:'s Netstring_tstring.tstring_kind ->
?out_enc:Netconversion.encoding ->
?prefer_name:bool ->
?unsafe_chars:string -> unit -> Netsys_types.tstring -> 's
val encode_poly :
in_enc:Netconversion.encoding ->
in_ops:'s Netstring_tstring.tstring_ops ->
out_kind:'t Netstring_tstring.tstring_kind ->
?out_enc:Netconversion.encoding ->
?prefer_name:bool -> ?unsafe_chars:string -> unit -> 's -> 't
type entity_set = [ `Empty | `Html | `Xml ]
val decode :
in_enc:Netconversion.encoding ->
out_enc:Netconversion.encoding ->
?lookup:(string -> string) ->
?subst:(int -> string) ->
?entity_base:Netencoding.Html.entity_set -> unit -> string -> string
val decode_tstring :
in_enc:Netconversion.encoding ->
out_kind:'s Netstring_tstring.tstring_kind ->
out_enc:Netconversion.encoding ->
?lookup:(string -> string) ->
?subst:(int -> string) ->
?entity_base:Netencoding.Html.entity_set ->
unit -> Netsys_types.tstring -> 's
val decode_poly :
in_enc:Netconversion.encoding ->
in_ops:'s Netstring_tstring.tstring_ops ->
out_kind:'t Netstring_tstring.tstring_kind ->
out_enc:Netconversion.encoding ->
?lookup:(string -> string) ->
?subst:(int -> string) ->
?entity_base:Netencoding.Html.entity_set -> unit -> 's -> 't
end
val to_hex : ?lc:bool -> string -> string
end