Method EncodeInt32
EncodeInt32(Int32)
NOTE: This was encodeInt() in Lucene
Declaration
public static byte[] EncodeInt32(int payload)
Parameters
Type |
Name |
Description |
System.Int32 |
payload |
|
Returns
Type |
Description |
System.Byte[] |
|
EncodeInt32(Int32, Byte[], Int32)
NOTE: This was encodeInt() in Lucene
Declaration
public static byte[] EncodeInt32(int payload, byte[] data, int offset)
Parameters
Type |
Name |
Description |
System.Int32 |
payload |
|
System.Byte[] |
data |
|
System.Int32 |
offset |
|
Returns
Type |
Description |
System.Byte[] |
|