License | BSD-style |
---|---|
Maintainer | Vincent Hanquez <vincent@snarc.org> |
Stability | stable |
Portability | Good |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
toW64BE :: ByteArrayAccess bs => bs -> Int -> BE Word64 Source #
Transform a bytearray at a specific offset into a Word64 tagged as BE (Big Endian)
no bounds checking. unsafe
toW64LE :: ByteArrayAccess bs => bs -> Int -> LE Word64 Source #
Transform a bytearray at a specific offset into a Word64 tagged as LE (Little Endian)
no bounds checking. unsafe
fromW64BE :: ByteArray ba => Word64 -> ba Source #
Serialize a Word64
to a ByteArray
in big endian format