microstream
microstream copied to clipboard
Replace switchByteOrder by MemoryAccessor
Before microstream-one/microstream-private#111, a "switchByteOrder" flag had to be passed around at a lot of places to handle translation between the two byte orders. Now, with the MemoryAccessor interface, it might be a good idea to pass or even use directly that instead of a primitive value that only makes sense through its name and context. This could remove a lot of redundant code because a lot of low-level methods had to be written twice to account for a switched byte order.