Module eth2_serde_utils::bytes_4_hex [−][src]
Expand description
Formats [u8; 4]
as a 0x-prefixed hex string.
E.g., [0, 1, 2, 3]
serializes as "0x00010203"
.
Formats [u8; 4]
as a 0x-prefixed hex string.
E.g., [0, 1, 2, 3]
serializes as "0x00010203"
.