DBus.Internal.Wire

dbus-0.10.13: A client library for the D-Bus IPC system.

Safe Haskell | None
Language | Haskell98

DBus.Internal.Wire

# Documentation

data Endianness

Constructors

LittleEndian |
BigEndian |

Instances

Eq Endianness |
Show Endianness |

data MarshalError

Instances

Eq MarshalError |
Show MarshalError |

marshalErrorMessage :: MarshalError -> String

data UnmarshalError

Instances

Eq UnmarshalError |
Show UnmarshalError |

unmarshalErrorMessage :: UnmarshalError -> String

marshalMessage :: Message a => Endianness -> Serial -> a -> Either MarshalError ByteString

unmarshalMessage :: ByteString -> Either UnmarshalError ReceivedMessage

unmarshalMessageM :: Monad m => (Int -> m ByteString) -> m (Either UnmarshalError ReceivedMessage)