define BE_IN16 & BE_IN32 for lz4 compression