vector-endian-0.1.0.0: Storable vectors with cpu-independent representation.
Data.Vector.Endian.Class
class Endian a where Source #
Methods
fromLE :: a -> a Source #
toLE :: a -> a Source #
fromBE :: a -> a Source #
toBE :: a -> a Source #
Defined in Data.Vector.Endian.Class
fromLE :: Word8 -> Word8 Source #
toLE :: Word8 -> Word8 Source #
fromBE :: Word8 -> Word8 Source #
toBE :: Word8 -> Word8 Source #
fromLE :: Word16 -> Word16 Source #
toLE :: Word16 -> Word16 Source #
fromBE :: Word16 -> Word16 Source #
toBE :: Word16 -> Word16 Source #
fromLE :: Word32 -> Word32 Source #
toLE :: Word32 -> Word32 Source #
fromBE :: Word32 -> Word32 Source #
toBE :: Word32 -> Word32 Source #
fromLE :: Word64 -> Word64 Source #
toLE :: Word64 -> Word64 Source #
fromBE :: Word64 -> Word64 Source #
toBE :: Word64 -> Word64 Source #