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