scale-encode 0.0.18

Encode types to SCALE bytes given a desired target type
Documentation

scale-encode

Provides an EncodeAsType trait, and impls on common types, which builds on parity-scale-codec::Encode and allows more flexible encoding of types based on some provided type information in a scale_info::PortableRegistry.