This crate got some differences from the utf16string
crate and provides conversion between offsets in UTF-8 and UTF-16.
It is more useful for language servers, as Visual Studio Code only supports negotiating UTF-16.
Added more efficient examples of converting between offset encodings.