Crate array_bytes
source ·Expand description
A collection of array/bytes/hex utilities.
Completely optimized for blockchain development. Especially the Substrate.
Enums
The main error of array-bytes.
Traits
Simple and safe
T
/AsRef<str>
conversions that may fail in a controlled way under some
circumstances.Functions
Just like
hex2array
but without the checking.Just like
hex2bytes
but without checking.AsRef<str>
to &[u8]
.Just like
hex2slice
but without checking.Convert hex bytes to hex string.
Just like
hex_bytes2hex_str
but without the checking.Just like
hex_into
but without the checking.Just like
hex_n_into
but without the checking.&[T]
to [T; N]
.Just like
slice2array
but without the checking.Convert
&[T]
to a type directly.Just like
slice_n_into
but without the checking.Just like
vec2array
but without the checking.Convert
Vec<T>
to a type directly.Just like
vec_n_into
but without the checking.