module Q:sig..end
The "Q" encoding as described by RFC 2047.
val encode : ?pos:int -> ?len:int -> string -> stringNote: All characters except alphanumeric characters are protected by hex tokens. In particular, spaces are represented as "=20", not as "_".
val encode_tstring : ?pos:int -> ?len:int -> Netsys_types.tstring -> Stdlib.Bytes.tSame for tagged string inputs. The result are always bytes, though
val encode_poly : ?pos:int ->
?len:int -> 's Netstring_tstring.tstring_ops -> 's -> Stdlib.Bytes.tPolymorphic version
val decode : ?pos:int -> ?len:int -> string -> stringQ-decode a string
val decode_tstring : ?pos:int -> ?len:int -> Netsys_types.tstring -> Stdlib.Bytes.tSame for tagged string inputs. The result are always bytes, though
val decode_poly : ?pos:int ->
?len:int -> 's Netstring_tstring.tstring_ops -> 's -> Stdlib.Bytes.tPolymorphic version