Skip to main content

Module utils

Module utils 

Source
Expand description

§Utilities for JAM Protocol

This module provides utility functions and re-exports commonly used traits.

Re-exports§

pub use codec::Codec;

Modules§

codec
Codec module re-exporting parity-scale-codec traits

Traits§

Decode
Trait that allows zero-copy read of value-references from slices in LE format.
Encode
Trait that allows zero-copy write of value-references to slices in LE format.

Derive Macros§

Decode
Derive parity_scale_codec::Decode for struct and enum.
Encode
Derive parity_scale_codec::Encode and parity_scale_codec::EncodeLike for struct and enum.