Method Encode
Encode(Int64[], Int32, Int64[], Int32, Int32)
Read iterations * ValueCount
values from values
,
encode them and write iterations * BlockCount
blocks into
blocks
.
Declaration
void Encode(long[] values, int valuesOffset, long[] blocks, int blocksOffset, int iterations)
Parameters
Type | Name | Description |
---|---|---|
System.Int64[] | values | The values buffer. |
System.Int32 | valuesOffset | The offset where to start reading values. |
System.Int64[] | blocks | The long blocks that hold packed integer values. |
System.Int32 | blocksOffset | The offset where to start writing blocks. |
System.Int32 | iterations | Controls how much data to encode. |
Encode(Int64[], Int32, Byte[], Int32, Int32)
Read iterations * ValueCount
values from values
,
encode them and write 8 * iterations * BlockCount
blocks into
blocks
.
Declaration
void Encode(long[] values, int valuesOffset, byte[] blocks, int blocksOffset, int iterations)
Parameters
Type | Name | Description |
---|---|---|
System.Int64[] | values | The values buffer. |
System.Int32 | valuesOffset | The offset where to start reading values. |
System.Byte[] | blocks | The long blocks that hold packed integer values. |
System.Int32 | blocksOffset | The offset where to start writing blocks. |
System.Int32 | iterations | Controls how much data to encode. |
Encode(Int32[], Int32, Int64[], Int32, Int32)
Read iterations * ValueCount
values from values
,
encode them and write iterations * BlockCount
blocks into
blocks
.
Declaration
void Encode(int[] values, int valuesOffset, long[] blocks, int blocksOffset, int iterations)
Parameters
Type | Name | Description |
---|---|---|
System.Int32[] | values | The values buffer. |
System.Int32 | valuesOffset | The offset where to start reading values. |
System.Int64[] | blocks | The long blocks that hold packed integer values. |
System.Int32 | blocksOffset | The offset where to start writing blocks. |
System.Int32 | iterations | Controls how much data to encode. |
Encode(Int32[], Int32, Byte[], Int32, Int32)
Read iterations * ValueCount
values from values
,
encode them and write 8 * iterations * BlockCount
blocks into
blocks
.
Declaration
void Encode(int[] values, int valuesOffset, byte[] blocks, int blocksOffset, int iterations)
Parameters
Type | Name | Description |
---|---|---|
System.Int32[] | values | The values buffer. |
System.Int32 | valuesOffset | The offset where to start reading values. |
System.Byte[] | blocks | The long blocks that hold packed integer values. |
System.Int32 | blocksOffset | The offset where to start writing blocks. |
System.Int32 | iterations | Controls how much data to encode. |