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

Method String

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

String returns the string representation of the cap section.

()

Source from the content-addressed store, hash-verified

29
30// String returns the string representation of the cap section.
31func (s Section) String() string {
32 return fmt.Sprintf("type: %s, version: %d, len: %d, size: %d", s.Type(), s.Version(), s.Len(), s.Size())
33}
34
35// New builds a new section block with the specified type, version, optional length and size.
36func New(typ Type, ver capver.Version, l, size uint32) Section {

Callers

nothing calls this directly

Calls 4

TypeMethod · 0.95
VersionMethod · 0.95
LenMethod · 0.95
SizeMethod · 0.95

Tested by

no test coverage detected