Open
Description
Currently all methods of ByteData
takes an optional endianness which defaults to Endianness.BIG_ENDIAN
.
That's highly annoying when you are working with the class on a little-endian platform because you have to pass the optional argument to every method-call.
Remove BIG_ENDIAN
as default value from methods, let them use the specified default (which can then default to big-endian).
This might be problematic on JavaScript because the underlying DataView
class does not have a default-endianness field we can store it in, if we use that object directly instead of wrapping it.