pub fn write_with_sheet_and_get_bytes(
        sheets_and_rows: HashMap<&str, Vec<Vec<&str>>>,
    ) -> Result<Vec<u8>, ExcelError> {
        let uuid = Uuid::new_v4().to_string();
        Self::write_with_sheet(sheets_and_rows, &uuid)?;
        let result = read(&uuid).map_err(ExcelError::IO)?;
        remove_file(&uuid).map_err(ExcelError::IO)?;
        Ok(result)
    }
/// export multi sheets with data, return bytes
/// - `sheets_and_rows`: export sheet with data rows and columns
///
/// # Example
/// ```rust
/// let cols = vec!["cell1", "cell2"];
/// let rows = vec![cols];
/// let sheets_and_rows = HashMap::new();
/// sheets_and_rows.insert("sheet1", rows);
/// Excel::write_with_sheet_and_get_bytes(sheets_and_rows);
/// ```
export multi sheets with data, return bytes
`sheets_and_rows`: export sheet with data rows and columns
export multi sheets with data return bytes ` sheets_and_rows ` : export sheet with data rows and columns
pub fn write_with_sheet_and_get_bytes(
        sheets_and_rows: HashMap<&str, Vec<Vec<&str>>>,
    ) -> Result<Vec<u8>, ExcelError> {
        let uuid = Uuid::new_v4().to_string();
        Self::write_with_sheet(sheets_and_rows, &uuid)?;
        let result = read(&uuid).map_err(ExcelError::IO)?;
        remove_file(&uuid).map_err(ExcelError::IO)?;
        Ok(result)
    }
pub fn write_with_sheet_and_get_bytes ( sheets_and_rows : HashMap < & str , Vec < Vec < & str > > > , ) -> Result < Vec < u8 > , ExcelError > { let uuid = Uuid :: new_v4 ( ) . to_string ( ) ; Self :: write_with_sheet ( sheets_and_rows , & uuid ) ? ; let result = read ( & uuid ) . map_err ( ExcelError :: IO ) ? ; remove_file ( & uuid ) . map_err ( ExcelError :: IO ) ? ; Ok ( result ) }
export multi sheets with data, return bytes
 `sheets_and_rows`: export sheet with data rows and columns
export multi sheets with data return bytes ` sheets_and_rows ` : export sheet with data rows and columns
sheets_and_rows
HashMap<&str, Vec<Vec<&str>>>
sheets_and_rows
HashMap<&str, Vec<Vec<&str>>>
example
```rust
let cols = vec!["cell1", "cell2"];
let rows = vec![cols];
let sheets_and_rows = HashMap::new();
sheets_and_rows.insert("sheet1", rows);
Excel::write_with_sheet_and_get_bytes(sheets_and_rows);
```
` ` ` rust let cols = vec! [ " cell1 " " cell2 " ] ; let rows = vec! [ cols ] ; let sheets_and_rows = HashMap :: new () ; sheets_and_rows . insert ( " sheet1 " rows ) ; Excel :: write_with_sheet_and_get_bytes ( sheets_and_rows ) ; ` ` `