This content has been marked as final. Show 3 replies
(a) Unicode byte ordering is a non-existent concept
(b) DataInputStream and DataOutputStream are big-endian.
(c) ByteBuffer and friends can be set to different byte orders
(d) There is no other means of access to byte-ordering in Java AFAIK so the question is actually meaningless. Obviously JVMs would use the native byte ordering in practice but there is no way to tell from inside Java so it doesn't matter.