pub fn write_move<W: Write>(
m: &Move,
position: &Chess,
writer: &mut BitWriter<W>,
) -> Result<(), Error>Expand description
Low-level function writing a single compressed move to a BitWriter.
Remember that the writer buffers partially-written bytes, so your output
will be truncated if you forget to call BitWriter::pad_to_byte after
you have written all your moves.