binaryField

open fun binaryField(fieldInfo: FieldInfo, value: StoredFieldDataInput)

Expert: Process a binary field directly from the StoredFieldDataInput. Implementors of this method must read StoredFieldDataInput#length bytes from the given [ ]. The default implementation reads all bytes in a newly created byte array and calls .binaryField.

Parameters

value

the stored field data input.


open fun binaryField(fieldInfo: FieldInfo, value: ByteArray)

Process a binary field.

Parameters

value

newly allocated byte array with the binary contents.