-#data: matrix of double or connection
-serialize = function(data_ascii, data_bin_file, nb_per_chunk,
+#' @name de_serialize
+#' @rdname de_serialize
+#' @aliases binarize getDataInFile
+#'
+#' @title (De)Serialization of a matrix
+#'
+#' @description \code{binarize()} serializes a matrix or CSV file with minimal overhead,
+#' into a binary file. \code{getDataInFile()} achieves the inverse task: she retrieves
+#' (ASCII) data rows from indices in the binary file
+#'
+#' @param data_ascii Either a matrix or CSV file, with items in rows
+#' @param indices Indices of the lines to retrieve
+#' @param data_bin_file Name of binary file on output (\code{binarize})
+#' or intput (\code{getDataInFile})
+#' @param nb_per_chunk Number of lines to process in one batch
+#' @inheritParams claws
+#'
+#' @return For \code{getDataInFile()}, the matrix with rows corresponding to the
+#' requested indices
+NULL
+
+#' @rdname de_serialize
+#' @export
+binarize = function(data_ascii, data_bin_file, nb_per_chunk,