interpretAsArc4
@algorandfoundation/algorand-typescript
@algorandfoundation/algorand-typescript / arc4 / interpretAsArc4
Function: interpretAsArc4()
interpretAsArc4<
T
>(bytes
,prefix
):T
Defined in: packages/algo-ts/src/arc4/encoded-types.ts:560
Interpret the provided bytes as an ARC4 encoded type with no validation
Type Parameters
• T extends ARC4Encoded
Parameters
bytes
An arc4 encoded bytes value
prefix
The prefix (if any), present in the bytes value. This prefix will be validated and removed
"log"
| "none"
Returns
T