Class ProofScalar

java.lang.Object
org.symbol.sdk.ByteArray
org.symbol.sdk.symbol.models.ProofScalar
All Implemented Interfaces:
Serializer

public final class ProofScalar extends ByteArray
  • Field Details

  • Constructor Details

    • ProofScalar

      public ProofScalar(byte[] bytes)
      Creates a new ProofScalar.
      Parameters:
      bytes - Bytes.
    • ProofScalar

      public ProofScalar()
      Creates a new ProofScalar.
  • Method Details

    • parse

      public static ProofScalar parse(Object rawValue)
      ProofScalar.parse
      Parses a raw value (ProofScalar, hex string, byte array, or SDK ByteArray) into a ProofScalar.
      Parameters:
      rawValue - Raw value.
      Returns:
      Parsed value.
    • deserialize

      public static ProofScalar deserialize(ByteBuffer buffer)
      ProofScalar.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 it
      IllegalArgumentException - if a field carries an invalid value (e.g. a reserved field or unknown discriminator)