Documentation

HashSerializable

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
author

DubbaThony

Table of Contents

Methods

fromBin()  : static
fromHex()  : static
toBin()  : string
toHex()  : string

Methods

fromBin()

public static fromBin(string $bin) : static
Parameters
$bin : string
Return values
static

fromHex()

public static fromHex(string $hex) : static
Parameters
$hex : string
Return values
static

        
On this page

Search results