Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
()
| 168 | |
| 169 | // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message |
| 170 | func (z *cachedHeader) Msgsize() (s int) { |
| 171 | s = 1 + 4 + msgp.BytesPrefixSize + len(z.key) + 6 + msgp.BytesPrefixSize + len(z.value) |
| 172 | return |
| 173 | } |
| 174 | |
| 175 | // DecodeMsg implements msgp.Decodable |
| 176 | func (z *item) DecodeMsg(dc *msgp.Reader) (err error) { |
no outgoing calls