tisonkun opened a new issue, #28:
URL: https://github.com/apache/datasketches-rust/issues/28
In the Java code, I noticed we have:
```java
if (ByteOrder.nativeOrder() != ByteOrder.LITTLE_ENDIAN) {
throw new SketchesNotSupportedException("Machine Native Endianness
must be LITTLE_ENDIAN.");
}
```
Not sure if it's about serialization or other things involved.
We can add a compile assertion in datasketches-rust like:
```rust
#[cfg(target_endian = "big")]
compile_error!("datasketches does not support big-endian targets");
```
But if it's only about serialization, at least in Rust, we can always
specify the endianness when reading/writing data from/into bytes.
Anything else? @leerho
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]