Function podValueFromRawValue

  • Deserializes PODValue from the 'raw value' produced by podValueToRawValue. Type information is inferred from the values in a way which should preserve hashing and circuit behavior, but isn't guaranteed to be identical to the types before serialization. For instance, small numbers are always annotated as int, rather than cryptographic.

    Parameters

    • rawValue: PODRawValue

      a string or bigint representation of PODValue

    Returns PODValue

    PODValue deserialized from the aforementioned value

    Throws

    if the serialized form is invalid

Generated using TypeDoc