MCPcopy Index your code
hub / github.com/buger/jsonparser / combineUTF16Surrogates

Function combineUTF16Surrogates

escape.go:18–20  ·  view source on GitHub ↗
(high, low rune)

Source from the content-addressed store, hash-verified

16const basicMultilingualPlaneOffset = 0xFFFF
17
18func combineUTF16Surrogates(high, low rune) rune {
19 return supplementalPlanesOffset + (high-highSurrogateOffset)<<10 + (low - lowSurrogateOffset)
20}
21
22const badHex = -1
23

Callers 1

decodeUnicodeEscapeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…