This commit is contained in:
2026-06-15 05:32:15 +03:00
parent 80309aab99
commit ca125c99d2
16 changed files with 685 additions and 1350 deletions

View File

@@ -304,6 +304,12 @@ func (s *TimeDeltaCompressor) CreateDecompressor() qb.TimestampDecompressor {
return d
}
func (s *TimeDeltaCompressor) FirstTimestamp() uint32 {
pos := len(s.buf) - 4
timestamp, _ := bin.GetUint32(s.buf[pos:])
return timestamp
}
func (s *TimeDeltaCompressor) LastTimestamp() uint32 {
return s.lastUnixtime
}