Len returns the length of the section.
()
| 57 | |
| 58 | // Len returns the length of the section. |
| 59 | func (s Section) Len() uint32 { return bytes.ReadUint32(s[2:6]) } |
| 60 | |
| 61 | // Size returns the size of the section. |
| 62 | func (s Section) Size() uint32 { return bytes.ReadUint32(s[6:]) } |