Amazon Interview Question
Software Engineer / DevelopersCountry: India
Interview Type: In-Person
How does being a java guy give you immunity from worrying about endianness if you want to send a string from a windows machine to a mainframe system?
Rightly pointed out. If it is a pure java guy thing, then I believe buffer stream's are big endian'd in any platform and all works well.
The problem comes when native-C and java interactions end-up in say little-endian platform where java miread's the little endian byte stream as big endian using the java io lib methods.
- kartikaditya December 04, 2011