bend-kit-csv
Search uses release 0.3.0.0 · 34 definitions
Definitions (34)
- type CurThe unread bytes and the offset of the next record.
- type NextOne step of the cursor: a record and the cursor after it, the end of input, or the offset of the first byte that breaks RFC 4180.
- type SpanReader ------ A field's bytes are src[s..e].
- type ScanSpans are latest first.
- type StStart: before a field.
- def pk.ifByte i, or 256 past the end.
- def pk
- def start.spAn empty line has no fields; a trailing comma adds an empty field.
- def rec.gor holds byte i.
- def q
- def qq
- def unq.goPieces between "" pairs, latest first, with one quote between each.
- def unq.of
- def field.ofA quoted field's inner bytes with each "" as one quote.
- def cut.fin
- def cut.goSpans latest first give fields in order.
- def next.fin
- def next.row
- def next.if
- def cursorA cursor at the first record.
- def nextThe next record, End at the end of input, or Bad with the offset of the first bad byte.
- def parse.goEach record reads at least one byte, so len + 1 steps are enough.
- def parseEvery record, or Fail with the offset of the first bad byte.
- def needs.goWriter ------ Does a byte from i on need quotes?
- def enc.restThe pieces after the first, each after "".
- def enc.parts
- def enc.pick
- def enc.fieldPieces are latest first.
- def enc.more
- def enc.only.if
- def enc.only
- def enc.fields
- def enc.recs
- def encodeRecords as RFC 4180 text: fields joined by commas, each record ended by CRLF.