Bindings to the seekable variant of the ZSTD compression format

#7 Panic in copy_from_slice

Opened by pmeunier on September 15, 2021
pmeunier on September 15, 2021

The Framelog::stwrite32 method may write less than a full u32, because the output buffer is too small (in which case it returns the number of bytes written).

That method uses copy_from_slice to write the u32, which was causing a panic when the buffer is too small.

pmeunier added a change on September 15, 2021
FOFMWK53746RHCIMNP4G7NBJ3Z2PEI4A2XP5ZEEJOIRQNNEEL2FQC
main