/* Writing portable multidimensional arrays of samples. */ /* Last edited on 2021-06-22 13:52:10 by jstolfi */ /* Copyright © 2005 by Jorge Stolfi, from University of Campinas, Brazil. */ #ifndef ppv_array_write_H #define ppv_array_write_H #include #include #include void ppv_array_write_file ( FILE *wr, ppv_array_t *A, bool_t plain ); /* Outputs the array {A} to file {wr}, in a format compatible with {ppv_array_read_file}. Samples are written in the plain ASCII format if {plain} is true, or in the binary format if {plain} is false. The memory layout parameters {A.base}, {A.step} and {A.bpw} are not written. See {ppv_array_read_FORMAT_INFO} for details. */ #endif