wp
This commit is contained in:
@@ -172,6 +172,10 @@ func (s *ValueDeltaCompressor) CaptureState() {
|
||||
s.state = &state
|
||||
}
|
||||
|
||||
func (s *ValueDeltaCompressor) ForgetCapturedState() {
|
||||
s.state = nil
|
||||
}
|
||||
|
||||
func (s *ValueDeltaCompressor) Tail(offset int) []byte {
|
||||
return s.buf[offset:s.pos]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user