decster / jnicompressions

Java port(JNI) of Snappy & LZ4 compression codec
Apache License 2.0
33 stars 5 forks source link

Implicit byte order when writing the uncompressed size #3

Open jpountz opened 12 years ago

jpountz commented 12 years ago

The JNI code writes the uncompressed length at the beginning of the stream using an uint32_t, thus depending on the byte order of the running computer.