MCPcopy Create free account
hub / github.com/dotchain/dot / FromUTF16

Method FromUTF16

changes/types/string.go:109–121  ·  view source on GitHub ↗

FromUTF16 converts an UTF16 offset into a regular string offset It panics if the UTF16 offset lies within a UTF32 character

(idx int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

SliceMethod · 0.95
ApplyCollectionMethod · 0.95

Calls 1

utf16CountMethod · 0.95

Tested by

no test coverage detected