to_byte_array
Converts a value to a byte array with a given base and padding.
Requirements:
basecannot be zero.
Fully qualified path: openzeppelin_utils::bytearray::to_byte_array
pub fn to_byte_array<T, +Into<T, felt252>, +Copy<T>>(value: @T, base: u8, padding: u16) -> ByteArray