package csv

  1. Overview
  2. Docs
A pure OCaml library to read and write CSV files.

Install

dune-project
 Dependency

Authors

Maintainers

Sources

csv-1.4.2.tar.gz
sha256=d6185e9ef8e600493aa32db3e56c095b7d4912168b027602dce879671734b2e8
md5=0f2afb105766713eda762a3e461b49f2

doc/csv/Csv/class-type-out_obj_channel/index.html

Class type Csv.out_obj_channel

The most basic output object for best interoperability.

method output : Bytes.t -> int -> int -> int

output s ofs len writes up to len bytes of the substring s.[ofs .. ofs+len-1]. Return the number of bytes actually written. When the channel is non-blocking, and there are currently no bytes to write, the number 0 must be returned.

method close_out : unit -> unit

Flushes the buffer, if any, and closes the channel for output.