wp
This commit is contained in:
11
qb.go
11
qb.go
@@ -23,17 +23,18 @@ const (
|
||||
)
|
||||
|
||||
type TimestampCompressor interface {
|
||||
CalcRequiredSpace(uint32) int
|
||||
Append(uint32)
|
||||
CalcRequiredSpace(uint32) (int, int)
|
||||
Append(int, uint32)
|
||||
Size() int
|
||||
Chunks() [][]byte
|
||||
DeleteLast()
|
||||
Renew()
|
||||
Lock()
|
||||
Unlock()
|
||||
CaptureState()
|
||||
ForgetCapturedState()
|
||||
CreateDecompressor() TimestampDecompressor
|
||||
Snapshot() ([][]byte, int) // chunks, size
|
||||
Snapshot() ([]byte, []byte) // payload, additional payload
|
||||
Offset() int
|
||||
Sync()
|
||||
//LastTimestamp() uint32
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user