MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / Version

Method Version

pkg/cap/section/section.go:56–56  ·  view source on GitHub ↗

Version returns the version of the capture section block.

()

Source from the content-addressed store, hash-verified

54
55// Version returns the version of the capture section block.
56func (s Section) Version() capver.Version { return capver.Version(s[1]) }
57
58// Len returns the length of the section.
59func (s Section) Len() uint32 { return bytes.ReadUint32(s[2:6]) }

Callers 3

ReadMethod · 0.95
StringMethod · 0.95
TestSectionFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestSectionFunction · 0.36