open fun readFixedByteArray(byteLength: Int, limit: Int): ByteArray
(source)
Read an array of fixed-length homogenous Bytes from the SSZ source.
byteLength
- The number of fixed-length Bytes per array element.
limit
- The maximum number of bytes to read.
InvalidSSZTypeException
- If the next SSZ value is not a byte array, or would exceed the limit.
EndOfSSZException
- If there are no more SSZ values to read.
Return
The byte array for the next value.