alias Rlp::RecursiveArray
Overview
An recursive array alias for arrays of unknown nesting depth.
a = [] of RecursiveArray
a << ""
a << Bytes[128]
a << [] of RecursiveArray
TODO The recursive alias might be deprecated in future,
ref: crystal-lang/crystal#5155.
it's worth considering a custom struct holding a @data
property
of type String | Bytes | Array(RecursiveArray)
and forward missing methods,
ref: crystal-lang/crystal#8719.
Alias Definition
Array(Rlp::RecursiveArray) | Slice(UInt8) | String