wp
This commit is contained in:
@@ -157,6 +157,7 @@ func (s *ValueDeltaCompressor) Append(rewindOffset int, change []byte, value flo
|
||||
//fmt.Printf("buf before: % x\n", s.buf[:s.pos])
|
||||
copy(s.buf[s.pos-rewindOffset:], change)
|
||||
s.pos += len(change) - rewindOffset
|
||||
//fmt.Printf("v size %d\n", s.pos)
|
||||
//fmt.Printf("buf after: % x\n", s.buf[:s.pos])
|
||||
//fmt.Printf("buf after: % x\n", s.buf[:s.pos])
|
||||
}
|
||||
@@ -342,6 +343,7 @@ func (s *ValueDeltaDecompressor) readBaseValue() {
|
||||
}
|
||||
|
||||
func (s *ValueDeltaDecompressor) NextValue() (value float64, done bool) {
|
||||
//fmt.Printf("v pos: %d of %d\n", s.pos, len(s.buf))
|
||||
if s.done {
|
||||
return 0, true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user