- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for PutVarint (0.11 sec)
-
src/index/suffixarray/suffixarray.go
ix.sa.int64 = make([]int64, len(data)) text_64(data, ix.sa.int64) } return ix } // writeInt writes an int x to w using buf to buffer the write. func writeInt(w io.Writer, buf []byte, x int) error { binary.PutVarint(buf, int64(x)) _, err := w.Write(buf[0:binary.MaxVarintLen64]) return err } // readInt reads an int x from r using buf to buffer the read and returns x. func readInt(r io.Reader, buf []byte) (int64, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 9.5K bytes - Viewed (0)