java.nio.ByteBuffer

I have a file that has image data in it in Big Endian byte order. I have created a ByteBuffer and set the order to Big Endian. If I use myBuffer.getShort() will the resulting short be in Big Endian or the native order for the OS?

it will be in big endian, which is javas default order anyway.

Ok, thank you!