pub fn relabel_ben_lines<R: Read, W: Write>(reader: R, writer: W) -> Result<()>
Expand description

Relabels each of the assignment vectors in a BEN file so that the values are in ascending order.

§Arguments

  • reader - A reader that implements the Read trait containing the BEN file to be relabeled.
  • writer - A writer that implements the Write trait and which will contain the relabeled BEN file.

§Errors

Returns an error if the file format is invalid or if there is an issue reading or writing the file.