uint32 returns the uint32 value at the given offset in the index data.
(off uint32)
| 126 | |
| 127 | // uint32 returns the uint32 value at the given offset in the index data. |
| 128 | func (ix *Index) uint32(off uint32) uint32 { |
| 129 | return binary.BigEndian.Uint32(ix.slice(off, 4)) |
| 130 | } |
| 131 | |
| 132 | // uvarint returns the varint value at the given offset in the index data. |
| 133 | func (ix *Index) uvarint(off uint32) uint32 { |