MCPcopy
hub / github.com/tinode/chat / pbDelQueryDeserialize

Function pbDelQueryDeserialize

server/pbconverter.go:1070–1082  ·  view source on GitHub ↗
(in []*pbx.SeqRange)

Source from the content-addressed store, hash-verified

1068}
1069
1070func pbDelQueryDeserialize(in []*pbx.SeqRange) []MsgRange {
1071 if in == nil {
1072 return nil
1073 }
1074
1075 out := make([]MsgRange, len(in))
1076 for i, sr := range in {
1077 out[i].LowId = int(sr.GetLow())
1078 out[i].HiId = int(sr.GetHi())
1079 }
1080
1081 return out
1082}
1083
1084func pbDelValuesSerialize(in *MsgDelValues) *pbx.DelValues {
1085 if in == nil {

Callers 3

pbServDeserializeFunction · 0.85
pbCliDeserializeFunction · 0.85
pbDelValuesDeserializeFunction · 0.85

Calls 2

GetLowMethod · 0.80
GetHiMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…