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.
Namespace: Lucene.Net.IndexAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public Payload( byte[] data, int offset, int length ) |
Visual Basic |
---|
Public Sub New ( _ data As Byte(), _ offset As Integer, _ length As Integer _ ) |
Visual C++ |
---|
public: Payload( array<unsigned char>^ data, int offset, int length ) |
Parameters
- data
- Type: array<System..::..Byte>[]()[][]
the data of this payload
- offset
- Type: System..::..Int32
the offset in the data byte array
- length
- Type: System..::..Int32
the length of the data