This package exposes data types that implement the type classes from the vector package, but the vectors have an in-memory representation that is independent of the host's CPU. This makes the data stored within them suitable for storage or transmission over a network, and they can be converted to bytestrings without copying.
cabal install vector-endian