Package org.symbol.sdk.symbol.models
Class ProofGamma
java.lang.Object
org.symbol.sdk.ByteArray
org.symbol.sdk.symbol.models.ProofGamma
- All Implemented Interfaces:
Serializer
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new ProofGamma.ProofGamma(byte[] bytes) Creates a new ProofGamma. -
Method Summary
Modifier and TypeMethodDescriptionstatic ProofGammadeserialize(ByteBuffer buffer) Deserializes an instance of this object from a byte payload.static ProofGammaParses a raw value (ProofGamma, hex string, byte array, or SDK ByteArray) into a ProofGamma.
-
Field Details
-
SIZE
public static final int SIZE- See Also:
-
-
Constructor Details
-
ProofGamma
public ProofGamma(byte[] bytes) Creates a new ProofGamma.- Parameters:
bytes- Bytes.
-
ProofGamma
public ProofGamma()Creates a new ProofGamma.
-
-
Method Details
-
parse
- ProofGamma.parse
- Parses a raw value (ProofGamma, hex string, byte array, or SDK ByteArray) into a ProofGamma.
- Parameters:
rawValue- Raw value.- Returns:
- Parsed value.
-
deserialize
- ProofGamma.deserialize
- Deserializes an instance of this object from a byte payload.
- Parameters:
buffer- Output writer.- Returns:
- Deserialized object.
- Throws:
IndexOutOfBoundsException- if the buffer is truncated or a declared length overruns itIllegalArgumentException- if a field carries an invalid value (e.g. a reserved field or unknown discriminator)
-