parity-scale-codec 3.2.2

SCALE - Simple Concatenating Aggregated Little Endians
Documentation
1
2
3
4
5
6
7
8
9
use parity_scale_codec::{Encode, MaxEncodedLen};

#[derive(Encode, MaxEncodedLen)]
#[codec(parity_scale_codec)]
struct Example;

fn main() {
	let _ = Example::max_encoded_len();
}