Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- class FromByteString a where
Documentation
class FromByteString a where Source #
Class for byte-string-like datastructures
fromByteString :: ByteString -> a Source #
Convert a byte string to a value of type @a
Instances
FromByteString (Vector Word8) Source # | |
Defined in HaskellWorks.Data.FromByteString fromByteString :: ByteString -> Vector Word8 Source # | |
FromByteString (Vector Word16) Source # | |
Defined in HaskellWorks.Data.FromByteString fromByteString :: ByteString -> Vector Word16 Source # | |
FromByteString (Vector Word32) Source # | |
Defined in HaskellWorks.Data.FromByteString fromByteString :: ByteString -> Vector Word32 Source # | |
FromByteString (Vector Word64) Source # | |
Defined in HaskellWorks.Data.FromByteString fromByteString :: ByteString -> Vector Word64 Source # | |
FromByteString (MVector s Word8) Source # | |
Defined in HaskellWorks.Data.FromByteString fromByteString :: ByteString -> MVector s Word8 Source # |