Hi,
Normally, in Java's default configuration,  ByteBuffer  is BigEndian.
Network protocol  often use BigEndian.
For C/C++, the endian depends on CPU type. X86 CPU use  LittleEndian.

Best
-----------------------
Jamber

Yuan Tian <[email protected]> 于2021年9月27日周一 上午9:50写道:

> Hi,
> I remember that the default endian in C++ seems to be LittleEndian.
>
> Best,
> -------------------
> Yuan Tian
>
> On Mon, Sep 27, 2021 at 2:26 AM Giorgio Zoppi <[email protected]>
> wrote:
>
> > Hello IoTDBers,
> > on disk, the java writes in BigEndian the buffer right?
> > I am looking at parquet, especially the implementation in C++, there are
> > similarities. Why did you choose your own?
> > BR,
> > Giorgio.
> >
>

Reply via email to