HashSerializable
in
Hash serializable is interface to mark classes that can serialize themselves into blob of max size of hash (ie. fit abi single slot that's 32 bytes)
Tags
Table of Contents
Methods
Methods
fromBin()
public
static fromBin(string $bin) : static
Parameters
- $bin : string
Return values
staticfromHex()
public
static fromHex(string $hex) : static
Parameters
- $hex : string
Return values
statictoBin()
public
toBin() : string
Return values
stringtoHex()
public
toHex() : string