MCPcopy
hub / github.com/tidwall/gjson / appendHex16

Function appendHex16

gjson.go:2018–2023  ·  view source on GitHub ↗
(dst []byte, x uint16)

Source from the content-addressed store, hash-verified

2016}
2017
2018func appendHex16(dst []byte, x uint16) []byte {
2019 return append(dst,
2020 hexchars[x>>12&0xF], hexchars[x>>8&0xF],
2021 hexchars[x>>4&0xF], hexchars[x>>0&0xF],
2022 )
2023}
2024
2025// DisableEscapeHTML will disable the automatic escaping of certain
2026// "problamatic" HTML characters when encoding to JSON.

Callers 1

AppendJSONStringFunction · 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…