()
| 60 | func (e entry) Term() uint64 { return binary.BigEndian.Uint64(e) } |
| 61 | func (e entry) Index() uint64 { return binary.BigEndian.Uint64(e[8:]) } |
| 62 | func (e entry) DataOffset() uint64 { return binary.BigEndian.Uint64(e[16:]) } |
| 63 | func (e entry) Type() uint64 { return binary.BigEndian.Uint64(e[24:]) } |
| 64 | |
| 65 | func marshalEntry(b []byte, term, index, do, typ uint64) { |
no outgoing calls
no test coverage detected