MCPcopy
hub / github.com/vishvananda/netlink / Write

Method Write

socket_linux.go:35–38  ·  view source on GitHub ↗
(c byte)

Source from the content-addressed store, hash-verified

33}
34
35func (b *writeBuffer) Write(c byte) {
36 b.Bytes[b.pos] = c
37 b.pos++
38}
39
40func (b *writeBuffer) Next(n int) []byte {
41 s := b.Bytes[b.pos : b.pos+n]

Callers 15

SerializeMethod · 0.95
SerializeMethod · 0.95
SerializeMethod · 0.95
udpFlowCreateProgFunction · 0.80
addVxlanAttrsFunction · 0.80
linkModifyMethod · 0.80
addGeneveAttrsFunction · 0.80
vethStatsSerializeFunction · 0.80
EncodeMethod · 0.80
SerializeRtabFunction · 0.80
parseTcStatsFunction · 0.80
parseGnetStatsFunction · 0.80

Calls

no outgoing calls

Tested by 1

udpFlowCreateProgFunction · 0.64