encodeTerm
open override fun encodeTerm(out: DataOutput, fieldInfo: FieldInfo, _state: BlockTermState, absolute: Boolean)
Encode metadata as long[] and byte[]. absolute controls whether current term is delta encoded according to latest term. Usually elements in longs are file pointers, so each one always increases when a new term is consumed. out is used to write generic bytes, which are not monotonic.