MCPcopy
hub / github.com/tinylib/msgp / AppendUint16

Function AppendUint16

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

AppendUint16 appends a uint16 to the slice

(b []byte, u uint16)

Source from the content-addressed store, hash-verified

185
186// AppendUint16 appends a uint16 to the slice
187func AppendUint16(b []byte, u uint16) []byte { return AppendUint64(b, uint64(u)) }
188
189// AppendUint32 appends a uint32 to the slice
190func AppendUint32(b []byte, u uint32) []byte { return AppendUint64(b, uint64(u)) }

Callers 5

MarshalMsgMethod · 0.92
MarshalMsgMethod · 0.92
AppendIntfFunction · 0.85

Calls 1

AppendUint64Function · 0.85

Used in the wild real call sites across dependent graphs

searching dependent graphs…