pub fn write_ltr<W: Write>(
writer: &mut W,
ltr: &Ltr,
) -> Result<(), LtrBinaryError>Expand description
Writes an LTR file to a writer.
ยงErrors
LtrBinaryError::Io when the writer fails, which is the only way this
can fail: the letter count is a constant of the format and the probability
tables are fixed-size arrays, so there is no value here to reject. A
partial file may already have been written.