microstream icon indicating copy to clipboard operation
microstream copied to clipboard

Replace switchByteOrder by MemoryAccessor

Open tm-ms opened this issue 6 years ago • 0 comments

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.

tm-ms avatar Nov 18 '19 13:11 tm-ms