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

Method ToUTF16

changes/types/string.go:124–136  ·  view source on GitHub ↗

ToUTF16 converts a regular index to UTF16 offsets

(idx int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

CountMethod · 0.95
TestS16CountFunction · 0.80
TestStringPanicsFunction · 0.80
SpliceMethod · 0.80
MoveMethod · 0.80

Calls 1

utf16CountMethod · 0.95

Tested by 2

TestS16CountFunction · 0.64
TestStringPanicsFunction · 0.64