I'm using the Bytes<U>
interface from here. The underlying buffer is created as follow:
Bytes<?> buf = Bytes.elasticHeapByteBuffer(MAX_SIZE);
buf.writeLong(l); // writes in little endian
Given my machine byte order is little endian, how can I write the bytes in big endian instead?
Thank you.
Edit: According to this chart, it seems like chronicle bytes does not support this function.