ByteArrayIntoArrayU8
Implementation for converting a ByteArray to an Array
This conversion creates a new Array by iterating through each byte in the ByteArray and appending it to the array. This is useful when you need to work with individual bytes or interface with functions that expect Array.
Arguments
self- The ByteArray to convert to Array
Returns
Array<u8>- A new Array containing all bytes from the input ByteArray
Fully qualified path: alexandria_bytes::byte_array_ext::ByteArrayIntoArrayU8
pub impl ByteArrayIntoArrayU8 of Into<ByteArray, Array<u8>>;
Impl functions
into
Fully qualified path: alexandria_bytes::byte_array_ext::ByteArrayIntoArrayU8::into
fn into(self: ByteArray) -> Array<u8>