MCPcopy
hub / github.com/evilsocket/opensnitch / Next

Method Next

daemon/netlink/socket_linux.go:151–155  ·  view source on GitHub ↗
(n int)

Source from the content-addressed store, hash-verified

149}
150
151func (b *readBuffer) Next(n int) []byte {
152 s := b.Bytes[b.pos : b.pos+n]
153 b.pos += n
154 return s
155}
156
157func (s *Socket) deserialize(b []byte) error {
158 if len(b) < sizeofSocket {

Callers 2

deserializeMethod · 0.95
deserializeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected