abstract fun readHash(hashLength: Int): Bytes (source)
Read a hash from the SSZ source.
hashLength - 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
The bytes of the hash.