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

Function AppendUint8

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

AppendUint8 appends a uint8 to the slice

(b []byte, u uint8)

Source from the content-addressed store, hash-verified

179
180// AppendUint8 appends a uint8 to the slice
181func AppendUint8(b []byte, u uint8) []byte { return AppendUint64(b, uint64(u)) }
182
183// AppendByte is analogous to AppendUint8
184func AppendByte(b []byte, u byte) []byte { return AppendUint8(b, u) }

Callers 5

MarshalMsgMethod · 0.92
MarshalMsgMethod · 0.92
AppendByteFunction · 0.85
AppendIntfFunction · 0.85

Calls 1

AppendUint64Function · 0.85

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…