MCPcopy Index your code
hub / github.com/tinode/chat / byteMapToInterfaceMap

Function byteMapToInterfaceMap

server/pbconverter.go:515–523  ·  view source on GitHub ↗
(in map[string][]byte)

Source from the content-addressed store, hash-verified

513}
514
515func byteMapToInterfaceMap(in map[string][]byte) map[string]any {
516 out := make(map[string]any, len(in))
517 for key, raw := range in {
518 if val := bytesToInterface(raw); val != nil {
519 out[key] = val
520 }
521 }
522 return out
523}
524
525func interfaceToBytes(in any) []byte {
526 if in != nil {

Callers 3

pbServDeserializeFunction · 0.85
pbCliDeserializeFunction · 0.85
pbClientCredDeserializeFunction · 0.85

Calls 1

bytesToInterfaceFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…