From a5da689930d207316c4e486048a5a3e3e4458b24 Mon Sep 17 00:00:00 2001 From: jonny7 Date: Mon, 23 Sep 2019 17:41:28 -0300 Subject: [PATCH] fixed typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b3b6c27..69dd2e3 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Each type has a basic async version, and a sync wrapper around that. `Parser` is To create a `Parser`, you need to pass in a handler for header data and cell data. The header handler takes in a single parameter, which is a byte array (`[UInt8]`) of the header's contents. The cell handler takes in two parameters, the header for the cell, and the cell's contents. These are also both byte arrays. Both of these handlers allowing throwing. -**Note:** For you to be able to call `.parse(_:length:)`, your parser must be a variable. The method mutates internal state that you can't access. Anoying, I know. Hopefully this gets fixed in the future. +**Note:** For you to be able to call `.parse(_:length:)`, your parser must be a variable. The method mutates internal state that you can't access. Annoying, I know. Hopefully this gets fixed in the future. You can parse the CSV data by passing chunks of data into the `.parser(_:length:)` method, along with the total length of the CSV file that will be parsed. This allows us to parse the last chunk properly instead of never handling it.