[Java]: avoid unintended or evil buffer overrun and an eventual jvm crash/malfunction when reading/writing data from/to byte arrays.
 made byteOrder a DataPoint for the DirectBufferTest in order to cover the non-native byte order branches