Added big endian and little endian support.

Now you can write a certain sequence of bytes to the 'ByteArrays' in little endian or big endian orders.