pub fn encode_and_decode(obj: BlockNumberAddress) -> (usize, BlockNumberAddress)
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.