wp
This commit is contained in:
@@ -194,8 +194,11 @@ func (s *TimeDeltaCompressor) ReplaceSinceWithUntil() uint32 {
|
||||
return since
|
||||
}
|
||||
|
||||
// fix
|
||||
// func (s *TimeDeltaCompressor) Size() int {
|
||||
// для зростання буфера під час вставки даних. State не цікавить
|
||||
func (s *TimeDeltaCompressor) Size() int {
|
||||
return len(s.buf) - s.pos
|
||||
}
|
||||
|
||||
// if s.state == nil {
|
||||
// return len(s.buf) - s.pos
|
||||
// } else {
|
||||
|
||||
Reference in New Issue
Block a user