static fun decodeHashList(source: Bytes!, hashLength: Int): MutableList<Bytes!>!
(source)
Read a list of 32-byte hashes from the SSZ source.
source
- Bytes!: the SSZ encoded bytes
hashLength
- Int: 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
MutableList<Bytes!>!: a list of 32-byte hashes