MCPcopy Index your code
hub / github.com/tinylib/msgp / Msgsize

Method Msgsize

msgp/setof/generated.go:1975–1982  ·  view source on GitHub ↗

Msgsize returns the maximum size of the message.

()

Source from the content-addressed store, hash-verified

1973
1974// Msgsize returns the maximum size of the message.
1975func (s Int16Sorted) Msgsize() int {
1976 if s == nil {
1977 return msgp.NilSize
1978 }
1979 size := msgp.ArrayHeaderSize
1980 size += len(s) * msgp.Int16Size
1981 return size
1982}
1983
1984// Int16SortedFromSlice creates a Int16Sorted from a slice.
1985func Int16SortedFromSlice(s []int16) Int16Sorted {

Callers 1

MarshalMsgMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected