open fun readFixedByteArray(byteLength: Int, limit: Int): ByteArray!
(source)
Read an array of fixed-length homogenous Bytes from the SSZ source.
byteLength
- Int: The number of fixed-length Bytes per array element.
limit
- Int: 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
ByteArray!: The byte array for the next value.