from_offsets : U64, U64 -> TextPosition
TextPosition
TextPosition :: # (opaque)
One Unicode-scalar boundary in a logical text source.
Both offsets are absolute from the beginning of that source. byte_offset
counts UTF-8 bytes and scalar_offset counts decoded Unicode scalars.
byte_offset : TextPosition -> U64
scalar_offset : TextPosition -> U64