NewKey creates a new interval key defined by start and end values.
(start, end []byte)
| 574 | |
| 575 | // NewKey creates a new interval key defined by start and end values. |
| 576 | func (ic *IntervalCache) NewKey(start, end []byte) *IntervalKey { |
| 577 | k := ic.MakeKey(start, end) |
| 578 | return &k |
| 579 | } |
| 580 | |
| 581 | // MakeKey creates a new interval key defined by start and end values. |
| 582 | func (ic *IntervalCache) MakeKey(start, end []byte) IntervalKey { |