This was discussed in #155, and makes my life much easier when serializing big vectors.
For now I only implemented write_u32_from, but if this looks OK I can go implement all the others too. I also created slice_to_u8 based on slice_to_u8_mut, but I don't think the comment about "modification of the binary representation of any Copy type" applies to it.
This was discussed in #155, and makes my life much easier when serializing big vectors.
For now I only implemented
write_u32_from
, but if this looks OK I can go implement all the others too. I also createdslice_to_u8
based onslice_to_u8_mut
, but I don't think the comment about "modification of the binary representation of anyCopy
type" applies to it.