Module Expert.Parse_header

type t

Type t represents an incomplete header parse. Keep calling input on it until you get a map from header name to column number.

val create : ?⁠strip:bool -> ?⁠sep:char -> ?⁠quote:[ `No_quoting | `Using of char ] -> ?⁠header:Delimited_kernel__.Header.t -> unit -> (tint Core_kernel.String.Map.t) Core_kernel.Either.t
val input : t -> len:int -> Core_kernel.Bytes.t -> (tint Core_kernel.String.Map.t * string) Core_kernel.Either.t

input t ~len s reads the first len bytes from s and returns either t or header_map, unused_input.

val input_string : t -> len:int -> string -> (tint Core_kernel.String.Map.t * string) Core_kernel.Either.t
val is_at_beginning_of_row : t -> bool