MCPcopy Index your code
hub / github.com/vishvananda/netlink / Next

Method Next

socket_linux.go:40–44  ·  view source on GitHub ↗
(n int)

Source from the content-addressed store, hash-verified

38}
39
40func (b *writeBuffer) Next(n int) []byte {
41 s := b.Bytes[b.pos : b.pos+n]
42 b.pos += n
43 return s
44}
45
46func (r *socketRequest) Serialize() []byte {
47 b := writeBuffer{Bytes: make([]byte, sizeofSocketRequest)}

Callers 3

SerializeMethod · 0.95
SerializeMethod · 0.95
SerializeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected