pub fn normalized_bundle(bundle: &[i8]) -> Result<[i8; HASH_LENGTH / TRYTE_WIDTH]> {
    ensure!(
        bundle.len() == HASH_LENGTH,
        "Invalid bundle length: {}",
        bundle.len()
    );
    let mut normalized_bundle = [0; HASH_LENGTH / TRYTE_WIDTH];
    normalized_bundle_in_place(bundle, &mut normalized_bundle);
    Ok(normalized_bundle)
}
/// Generate normalize bundle
///
/// * `bundle` - Bundle to normalize
Generate normalize bundle
`bundle` - Bundle to normalize
Generate normalize bundle ` bundle ` - Bundle to normalize
pub fn normalized_bundle(bundle: &[i8]) -> Result<[i8; HASH_LENGTH / TRYTE_WIDTH]> {
    ensure!(
        bundle.len() == HASH_LENGTH,
        "Invalid bundle length: {}",
        bundle.len()
    );
    let mut normalized_bundle = [0; HASH_LENGTH / TRYTE_WIDTH];
    normalized_bundle_in_place(bundle, &mut normalized_bundle);
    Ok(normalized_bundle)
}
pub fn normalized_bundle ( bundle : & [ i8 ] ) -> Result < [ i8 ; HASH_LENGTH / TRYTE_WIDTH ] > { ensure ! ( bundle len ( ) HASH_LENGTH " " bundle len ( ) ) ; let mut normalized_bundle = [ 0 ; HASH_LENGTH / TRYTE_WIDTH ] ; normalized_bundle_in_place ( bundle , & mut normalized_bundle ) ; Ok ( normalized_bundle ) }
Generate normalize bundle
 `bundle` - Bundle to normalize
Generate normalize bundle ` bundle ` - Bundle to normalize
bundle
&[i8]