val create : ?initial_pos:pos -> unit -> tadd, add_twice and add_newline must be called with strictly increasing offset values.
val add : t -> offset:int -> unitint is absolute offset of the position
val add_twice : t -> offset:int -> unitval add_newline : t -> offset:int -> unitint is absolute offset of the newline character
val reset : t -> pos -> unit