Reads an instance of T from a CSV record at position i.
Reads an instance of T from a CSV record at position i.
Decoding is unsafe as it may throw an exception if reading failed.
A very common exception type is NumberFormatException.
Returns the number of columns in a record for type T.
Writes an instance of T in a CSV record at position i.
Codec (provides encoding and decoding) type-class for CSV records. A CSV record consists of a fixed number of columns, encoded as an array of Strings.
This codec is unsafe. Upon failure (mostly when reading), an exception may be thrown. A very common exception type is NumberFormatException.
Provided by default are codecs for Scala and Java primitives, enumerations, Option, Array, Traversable collections, tuples and case classes.