in binary/util.go [71:78]
func Offset2Bytes(offset float64) []byte { idx := 0 if offset != 0.0 { idx = int(math.Round(offset*256 - 0.5)) } return Int2Bytes(idx, 1, false) }