Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
class MsgPack a where Source #
Instances
MsgPack Int64 Source # | |
MsgPack Word64 Source # | |
MsgPack ByteString Source # | |
Defined in Extism.PDK.MsgPack toMsgPack :: ByteString -> Object Source # fromMsgPack :: Object -> Maybe ByteString Source # | |
MsgPack Object Source # | |
MsgPack String Source # | |
MsgPack () Source # | |
Defined in Extism.PDK.MsgPack | |
MsgPack Bool Source # | |
MsgPack Double Source # | |
MsgPack Float Source # | |
MsgPack Int Source # | |
MsgPack Word Source # | |
MsgPack a => MsgPack (Maybe a) Source # | |
class GMsgPack f where Source #
toGMsgPack :: f a -> Object Source #
fromGMsgPack :: Object -> Maybe (f a) Source #
Instances
GMsgPack (U1 :: Type -> Type) Source # | |
Defined in Extism.PDK.MsgPack | |
(GMsgPack a, GMsgPack b) => GMsgPack (a :*: b) Source # | |
Defined in Extism.PDK.MsgPack | |
(GMsgPack a, GMsgPack b) => GMsgPack (a :+: b) Source # | |
Defined in Extism.PDK.MsgPack | |
MsgPack a => GMsgPack (K1 i a :: Type -> Type) Source # | |
Defined in Extism.PDK.MsgPack | |
GMsgPack a => GMsgPack (M1 i c a) Source # | |
Defined in Extism.PDK.MsgPack |
encode :: MsgPack a => a -> ByteString Source #
fromByteString :: ByteString -> [Char] Source #
toByteString :: [Char] -> ByteString Source #
module Data.MessagePack
module Data.Map.Strict