public class ReedSolomonNative extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
private int |
dataShards |
private int |
parityShards |
static ReedSolomonC |
REED_SOLOMON_C |
private long |
reedSolomonPtr |
| 构造器和说明 |
|---|
ReedSolomonNative(int dataShards,
int parityShards) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getDataShards() |
int |
getParityShards() |
int |
getTotalShardCount() |
static boolean |
isNativeSupport() |
protected void |
rsEncode(long[] shards,
int byteCount) |
protected void |
rsReconstruct(long[] shards,
boolean[] shardPresent,
int byteCount) |
protected void |
rsRelease() |
void |
setDataShards(int dataShards) |
void |
setParityShards(int parityShards) |
public static final ReedSolomonC REED_SOLOMON_C
private long reedSolomonPtr
private int dataShards
private int parityShards
public int getTotalShardCount()
public static boolean isNativeSupport()
protected void rsRelease()
protected void rsEncode(long[] shards,
int byteCount)
protected void rsReconstruct(long[] shards,
boolean[] shardPresent,
int byteCount)
public int getDataShards()
public void setDataShards(int dataShards)
public int getParityShards()
public void setParityShards(int parityShards)
Copyright © 2022. All rights reserved.