You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: util.rs
    path of file: ./repos/TheReader/crates/common/src
    
    the code of the file until where you have to start completion: pub const FILE_SIZE_IDENTIFIERS: [&str; 4] = ["B", "KB", "MB", "GB"];

pub fn file_size_bytes_to_readable_string(value: i64) 
    
pub fn take_from_and_swap<V, P: Fn(&V) -> bool>(array: &mut Vec<V>, predicate: P) -> Vec<V> {
    let mut ret = Vec::new();

    for i in (0..array.len()).rev() {
        if predicate(&array[i]) {
            ret.push(array.swap_remove(i));
        }
    }

    ret.reverse();

    ret
}