rust-osdev / ucs2-rs

UCS-2 conversion utilities for Rust.
Mozilla Public License 2.0
6 stars 5 forks source link

Add `decode_with` function. #8

Closed pimeys closed 3 years ago

pimeys commented 3 years ago

Would be quite useful for us to have a more generic decode_with, so we could allocate the result in a more dynamic way compared to using a &mut [u8].

GabrielMajeri commented 3 years ago

Thanks for the contribution!