slow5_rec_fwrite

Function slow5_rec_fwrite 

Source
pub unsafe extern "C" fn slow5_rec_fwrite(
    fp: *mut FILE,
    read: *mut slow5_rec_t,
    aux_meta: *mut slow5_aux_meta_t,
    format: slow5_fmt,
    compress: *mut slow5_press_t,
) -> c_int
Expand description

Print a read entry in the specified format to a file pointer.

On success, the number of bytes written is returned. On error, -1 is returned.

@param fp output file pointer @param read slow5_rec pointer @param format slow5 format to write entry in @param compress @return number of bytes written, -1 on error