Support byte order setting 19/256019/9
authorHwankyu Jhun <h.jhun@samsung.com>
Fri, 26 Mar 2021 11:43:04 +0000 (20:43 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Mon, 29 Mar 2021 01:35:35 +0000 (10:35 +0900)
commit32cb720c6fc5950df14b22afaf803488e9da5aed
treeed1ca013db3e3b6ae1d8bb468342854603490811
parent7ddb3f7eb4f0126b481ede574abcc5e6c8ba04c8
Support byte order setting

The platform byte order is little-endian. The network byte order is
defined to be always big-endian. The developer can change
byte order of the parcel using parcel_set_byte_order().

Adds:
 - Parcel.SetByteOrder()
 - parcel_set_byte_order()

Change-Id: I1f6b7166eec508862fe4771355a1a4a53093b3c6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
parcel/CMakeLists.txt
parcel/api/parcel.h
parcel/parcel.cc
parcel/parcel.hh
parcel/parcel_implementation.hh
parcel/stub.cc
tests/parcel_unittests/test_parcel.cc
tests/parcel_unittests/test_parcel_cpp.cc