tuweni / org.apache.tuweni.ssz / SSZ / encodeBoolean

encodeBoolean

static fun encodeBoolean(value: Boolean): Bytes! (source)

Encode a boolean to a Bytes value.

Parameters

value - Boolean: the boolean to encode

Return
Bytes!: the SSZ encoding in a Bytes value