Skip to content

Commit

Permalink
Tweak comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Drvi committed Nov 10, 2023
1 parent 17e7634 commit 5dbb280
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/payload.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ A payload of parsed results, which is passed to `consume!` after each `populate_
# Fields:
- `row_num::Int`: row number of the first row in the payload
- `len::Int`: number of rows in the payload
- `results::B`: parsed result buffer
- `results::B`: parsed result buffer which was populated by `populate_result_buffer!`
- `parsing_ctx::C`: library-provided data (to distinguish JSONL and CSV processing)
- `chunking_ctx::ChunkingContext`: contains the raw bytes, synchronization objects and newline positions
- `eols_buffer_index::Int32`: The start index of the newline positions in `chunking_ctx.newline_positions` that this payload corresponds to.
Expand All @@ -21,7 +21,7 @@ A payload of parsed results, which is passed to `consume!` after each `populate_
struct ParsedPayload{B, C<:AbstractParsingContext}
row_num::Int # row number of the first row in the payload
len::Int # number of rows in the payload
results::B # parsed result buffer
results::B # parsed result buffer which was populated by `populate_result_buffer!`
parsing_ctx::C # library-provided data (to distinguish JSONL and CSV processing)
chunking_ctx::ChunkingContext # internal data to facilitate chunking and synchronization
eols_buffer_index::Int32 # The start index of the newline positions in `chunking_ctx.newline_positions` that this payload corresponds to.
Expand Down

0 comments on commit 5dbb280

Please sign in to comment.