mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-29 07:07:16 +00:00
compress.Count() method (#478)
This commit is contained in:
parent
157b4299e4
commit
fdf7c6598b
@ -128,6 +128,8 @@ func (c *Compressor) SetTrace(trace bool) {
|
||||
c.trace = trace
|
||||
}
|
||||
|
||||
func (c *Compressor) Count() int { return int(c.wordsCount) }
|
||||
|
||||
func (c *Compressor) AddWord(word []byte) error {
|
||||
c.wordsCount++
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user