Skip to main content

inline_offset_bump

Function inline_offset_bump 

Source
pub fn inline_offset_bump(start_offset: i64, records_len: i64) -> (i64, i64)
Expand description

Record-count offset arithmetic for the inline (fileless) path, mirroring the byte-offset semantics of read_new_transcript_lines: returns (send_offset, next_offset) where send_offset is stamped on the request as transcript_offset (base for the server’s per-line chunk_index) and next_offset is persisted to .stream_offset.