tuweni / org.apache.tuweni.ssz / SSZWriter / writeSSZ

writeSSZ

abstract fun writeSSZ(value: Bytes!): Unit (source)

Append an already SSZ encoded value. Note that this method may not validate that value is a valid SSZ sequence. Appending an invalid SSZ sequence will cause the entire SSZ encoding produced by this writer to also be invalid.

Parameters

value - Bytes!: the SSZ encoded bytes to append

open fun writeSSZ(value: ByteArray!): Unit (source)

Append an already SSZ encoded value. Note that this method may not validate that value is a valid SSZ sequence. Appending an invalid SSZ sequence will cause the entire SSZ encoding produced by this writer to also be invalid.

Parameters

value - ByteArray!: the SSZ encoded bytes to append