pub fn new(file_start: *mut libc::c_void, file_size: usize, next_free_byte: usize) -> Self {
        Self {
            file_start,
            file_size,
            next_free_byte: AtomicUsize::new(next_free_byte),
        }
    }
/// Create a new file allocator.
///
/// - `file_start` points to the beginning of the file
/// - `file_size` is the total file size
/// - `next_free_byte` is a locked `u64` indicating the next free byte
Create a new file allocator.
Create a new file allocator .
pub fn new(file_start: *mut libc::c_void, file_size: usize, next_free_byte: usize) -> Self {
        Self {
            file_start,
            file_size,
            next_free_byte: AtomicUsize::new(next_free_byte),
        }
    }
pub fn new ( file_start : * mut libc :: c_void , file_size : usize , next_free_byte : usize ) -> Self { Self { file_start , file_size , next_free_byte : AtomicUsize :: new ( next_free_byte ) , } }
Create a new file allocator.
Create a new file allocator .
file_start
*mut libc::c_void
file_size
usize
next_free_byte
usize
file_start
*mut libc::c_void
file_size
usize
next_free_byte
usize