mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-01 00:31:21 +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
|
c.trace = trace
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (c *Compressor) Count() int { return int(c.wordsCount) }
|
||||||
|
|
||||||
func (c *Compressor) AddWord(word []byte) error {
|
func (c *Compressor) AddWord(word []byte) error {
|
||||||
c.wordsCount++
|
c.wordsCount++
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user