abstract fun readHash(hashLength: Int): Bytes!
(source)
Read a hash from the SSZ source.
hashLength
- Int: The length of the hash (in bytes).
InvalidSSZTypeException
- If there are insufficient encoded bytes for a 32-byte hash.
EndOfSSZException
- If there are no more SSZ values to read.
Return
Bytes!: The bytes of the hash.