Skip to main content

read_batch

Function read_batch 

Source
pub fn read_batch(
    transcript: &Path,
    offset_path: &Path,
    max_bytes: i64,
) -> Result<TranscriptBatch>
Expand description

read_new_lines, reading no further than the line that reaches max_bytes, and telling where each line ends (see crate::commands::stream::TranscriptBatch).