static fun decodeHashList(source: Bytes, hashLength: Int): MutableList<Bytes>
(source)
Read a list of 32-byte hashes from the SSZ source.
source
- the SSZ encoded bytes
hashLength
- The length of the hash (in bytes).
InvalidSSZTypeException
- if the next SSZ value is not a list, there are insufficient encoded bytes for any hash in the list
EndOfSSZException
- if there are no more SSZ values to read
Return
a list of 32-byte hashes