sig
module Base64 :
sig
val encode :
?pos:int ->
?len:int -> ?linelength:int -> ?crlf:bool -> string -> string
val url_encode :
?pos:int ->
?len:int -> ?linelength:int -> ?crlf:bool -> string -> string
val decode :
?pos:int ->
?len:int ->
?url_variant:bool -> ?accept_spaces:bool -> string -> string
class encoding_pipe :
?linelength:int -> ?crlf:bool -> unit -> Netchannels.pipe
class decoding_pipe :
?url_variant:bool -> ?accept_spaces:bool -> unit -> Netchannels.pipe
end
module QuotedPrintable :
sig
val encode : ?crlf:bool -> ?pos:int -> ?len:int -> string -> string
val decode : ?pos:int -> ?len:int -> string -> string
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 decode : ?pos:int -> ?len:int -> string -> string
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
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
end
end