Expand description
A collection of Array/Bytes/Hex utilities with full No-STD compatibility.
Completely optimized for blockchain development. Especially the Polkadot-SDK.
Enums§
Traits§
- Dehexify the given hex to
Self
. - Hexify
Self
.
Functions§
- Dehexify hex to a fixed length bytes vector then convert it to
T
whereT: From<[u8; N]>
. - Dehexify hex into a mutable slice source.
- Dehexify hex to a bytes vector then convert it to
T
whereT: From<Vec<u8>
. - Hexify the bytes which are already in hex.
- Prefixes the given element to the given array/slice/vector to make it a fixed-size array of length
N
. - Convert
&[T]
to[T; N]
. - Convert
&[T]
to&[T; N]
. - Convert
&[T]
toV
whereV: From<[T; N]>
. - Suffixes the given element to the given array/slice/vector to make it a fixed-size array of length
N
. - Convert
Vec<T>
to[T; N]
. - Convert
Vec<T>
toV
whereV: From<[T; N]>
.