Specify the byte order of the ByteBuffer

This is a clean up commit to specify the byte order, and
also update the format based on the setting.

Test: atest NetworkStackTests
Change-Id: Ide4031f62925ec556b129f562d1ce75ed472611d
1 file changed