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

Function AppendDuration

msgp/write_bytes.go:90–92  ·  view source on GitHub ↗

AppendDuration appends a time.Duration to the slice

(b []byte, d time.Duration)

Source from the content-addressed store, hash-verified

88
89// AppendDuration appends a time.Duration to the slice
90func AppendDuration(b []byte, d time.Duration) []byte {
91 return AppendInt64(b, int64(d))
92}
93
94// AppendInt64 appends an int64 to the slice
95func AppendInt64(b []byte, i int64) []byte {

Callers 2

AppendIntfFunction · 0.85

Calls 1

AppendInt64Function · 0.85

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…