public class FieldElement extends Object implements AutoCloseable
| Modifier and Type | Field and Description |
|---|---|
static int |
FIELD_ELEMENT_LENGTH |
| Modifier | Constructor and Description |
|---|---|
protected |
FieldElement(long fieldElementPointer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static FieldElement |
createFromLong(long value) |
static FieldElement |
createRandom() |
static FieldElement |
createRandom(long seed) |
static FieldElement |
deserialize(byte[] fieldElementBytes) |
boolean |
equals(Object o) |
void |
freeFieldElement() |
protected void |
nativePrintFieldElementBytes() |
protected byte[] |
nativeSerializeFieldElement() |
void |
printFieldElementBytes() |
byte[] |
serializeFieldElement() |
public static FieldElement createFromLong(long value)
public static FieldElement createRandom(long seed)
public static FieldElement createRandom()
protected byte[] nativeSerializeFieldElement()
public byte[] serializeFieldElement()
public static FieldElement deserialize(byte[] fieldElementBytes)
protected void nativePrintFieldElementBytes()
public void printFieldElementBytes()
public void freeFieldElement()
public void close()
close in interface AutoCloseableCopyright © 2020–2021. All rights reserved.