tuweni / org.apache.tuweni.ssz / SSZ / decodeBoolean

decodeBoolean

static fun decodeBoolean(source: Bytes!): Boolean (source)

Read a boolean value from the SSZ source.

Parameters

source - Bytes!: the SSZ encoded bytes

Exceptions

InvalidSSZTypeException - if the decoded value is not a boolean

EndOfSSZException - if there are no more SSZ values to read

Return
Boolean: a boolean