oku_fs::fs::util

Function parse_array

Source
pub fn parse_array<const N: usize>(input: &str) -> Result<[u8; N]>
Expand description

Parse a string as a base32-encoded byte array of length N.

§Arguments

  • input - The string to parse.

§Returns

An array of bytes of length N.