reth_db::tables::codecs::fuzz::IntegerList

Function encode_and_decode

Source
pub fn encode_and_decode(obj: IntegerList) -> (usize, IntegerList)
Available on crate feature bench only.
Expand description

Encodes and decodes table types returning its encoded size and the decoded object. This method is used for benchmarking, so its parameter should be the actual type that is being tested.