module Csv_writer:sig
..end
This library is designed to deal with proper CSV (no quotes allowed in the
middle of the fields...). It is fast and flexible: by splitting most
writing functions in two parts one that gives the length of the string to
write and another that writes the result in a subpart of another string we
avoid unnecessary string creations.
val output_lines : ?quote:char ->
?sep:char -> Pervasives.out_channel -> string list list -> unit
val line_to_string : ?quote:char -> ?sep:char -> string list -> string
val maybe_escape_field : ?quote:char -> ?sep:char -> string -> string
val escape_field : ?quote:char -> string -> string
val quote_len : quote:char -> sep:char -> pos:int -> len:int -> string -> int option
val quote_blit : quote:char ->
src:string -> dst:string -> src_pos:int -> dst_pos:int -> len:int -> int