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-in_obj_channel/index.html

Class type Csv.in_obj_channel

The most basic input object for best interoperability.

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

input buf ofs len reads up to len octets from the channel and puts them in the substring buf.[ofs .. ofs+len-1]. Returns the number of octets actually read (and stored). When the channel is non-blocking, and there are currently no bytes to read, the number 0 will be returned.

  • raises End_of_file

    when there are no more bytes to read.

method close_in : unit -> unit

Closes the channel for input.