ssz / org.apache.tuweni.ssz / SSZ / decodeBooleanList

decodeBooleanList

static fun decodeBooleanList(source: Bytes): MutableList<Boolean> (source)

Read a list of booleans from the SSZ source.

Parameters

source - the SSZ encoded bytes

Exceptions

InvalidSSZTypeException - if the next SSZ value is not a list, there are insufficient encoded bytes for all the booleans in the list

EndOfSSZException - if there are no more SSZ values to read

Return
a list of booleans