()
| 17 | } |
| 18 | |
| 19 | func (c *compressor) init() { |
| 20 | c.ht = make([]int, lz4TableSize) |
| 21 | c.buf = make([]byte, compressedBufferSize) |
| 22 | } |
| 23 | |
| 24 | // compress compresses b and returns the compressed buffer. The compressed |
| 25 | // buffer is only valid until the next call to compres. |
no outgoing calls