pub fn new(string_area: Vec<u8>) -> Strings {
        Strings {
            strings: {
                if string_area == &[] {
                    vec![]
                } else {
                    string_area
                        .split(|num| *num == 0)
                        .into_iter()
                        .map(|string_slice| string_slice.to_vec())
                        .collect()
                }
            },
            current_string_index: 0,
        }
    }
/// Creates a new strings section of a structure
Creates a new strings section of a structure
Creates a new strings section of a structure
pub fn new(string_area: Vec<u8>) -> Strings {
        Strings {
            strings: {
                if string_area == &[] {
                    vec![]
                } else {
                    string_area
                        .split(|num| *num == 0)
                        .into_iter()
                        .map(|string_slice| string_slice.to_vec())
                        .collect()
                }
            },
            current_string_index: 0,
        }
    }
pub fn new ( string_area : Vec < u8 > ) -> Strings { Strings { strings : { if string_area == & [ ] { vec ! [ ] } else { string_area . split ( | num | * num == 0 ) . into_iter ( ) . map ( | string_slice | string_slice . to_vec ( ) ) . collect ( ) } } , current_string_index : 0 , } }
Creates a new strings section of a structure
Creates a new strings section of a structure
string_area
Vec<u8>
string_area
Vec<u8>