Eduardo Pinho
Eduardo Pinho
> (edition 2015 crates developed on a recent stable might inadvertently start using a recent API or backwards compatible feature) This is something that had not occurred to me until...
I would certainly be interested in this. My published [`nifti`](https://github.com/Enet4/nifti-rs) crate has a [runtime endianness type](https://github.com/Enet4/nifti-rs/blob/master/src/util.rs#L14) because NIfTI files can be stored in any of the two byte orders. In...
I can only speak for myself here, but a runtime endianness object `Endianness` enables reading and writing words of data with a byte order that is only decided at run...
I did some research on the crates available for this, and none of them seems to cover this use case particularly well. What do you folks think of creating a...
@yageek I believe one of the main concerns here is that there is no general consensus on how the API should work here. A run-time Endianness API such as the...
[`from_bytes`](https://doc.rust-lang.org/nightly/std/primitive.i32.html#method.from_bytes) seems to be for converting a fixed size array into a primitive integral value, which this crate already does in its own way. It does not aim to address...
A tiny update, I pushed ~~`byteorder_runtime`~~ with a proof of concept to a new repo. It lacks tests and still holds many open API-related issues, but I would suggest directing...
Thank you for working on this, @ingwinlu! I must warn you though, as I am working on #122, the crate's code will be subjected to several changes with an upcoming...
Just a heads-up, #122 has been merged, so this PR will need to be updated accordingly. I have scheduled for a v0.5.0 release very soon, but this contribution may become...
> When looking at the above mentioned code > > https://github.com/Enet4/dicom-rs/blob/c08c3511b651a47dda452e24dac11c47aeb43eff/pixeldata/src/lib.rs#L1577 > > I could not really understand what slicing is refered to and looked into finding some way to...