pub fn write_key<W: Write>( writer: &mut W, key: &Key, ) -> Result<(), KeyBinaryError>
Writes a KEY index to a writer.