create

fun create(value: Int): BondState

Creates a bonding state from Int value.

Return

Decoded bond state.

Parameters

value

Int value of a bond state.

Throws

when bond state cannot be decoded.