pub fn put_floats(into: &mut [u8], values: &[f32]) -> Result<usize>Expand description
Writes floats into into end to end and says how many bytes that took.
Every float in an image goes through here: the centroid section is one long run of them, and the four numbers beside a code are a run of four. Both are bit for bit, because a centroid that comes back nearly right puts members under the wrong partition and a code’s scale that comes back nearly right reorders the answers.
§Errors
Code::Invalid if into is too short.