writeSlice returns a slice of the available buffer to write data to. This invariant will be kept: len(s) <= availWrite()
()
| 78 | // |
| 79 | // This invariant will be kept: len(s) <= availWrite() |
| 80 | func (dd *dictDecoder) writeSlice() []byte { |
| 81 | return dd.hist[dd.wrPos:] |
| 82 | } |
| 83 | |
| 84 | // writeMark advances the writer pointer by cnt. |
| 85 | // |
no outgoing calls