Apache Lucene.Net 2.4.0 Class Library API

Payload Constructor (Byte[], Int32, Int32)

Creates a new payload with the the given array as data. A reference to the passed-in array is held, i. e. no copy is made.

public Payload(
   byte[] data,
   int offset,
   int length
);

Parameters

data
the data of this payload
offset
the offset in the data byte array
length
the length of the data

See Also

Payload Class | Lucene.Net.Index Namespace | Payload Constructor Overload List