| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Lighthouse.Utils.Serializable
Documentation
class Serializable t where Source #
Instances
| Serializable Display Source # | Converts a display to a binary representation. |
Defined in Lighthouse.Display Methods serialize :: Display -> ByteString Source # | |
| Serializable Row Source # | |
Defined in Lighthouse.Display Methods serialize :: Row -> ByteString Source # | |
| Serializable ClientMessage Source # | |
Defined in Lighthouse.Protocol Methods serialize :: ClientMessage -> ByteString Source # | |
| Serializable Color Source # | |
Defined in Lighthouse.Utils.Color Methods serialize :: Color -> ByteString Source # | |
class Deserializable t where Source #
Instances
| Deserializable ServerMessage Source # | |
Defined in Lighthouse.Protocol Methods deserialize :: ByteString -> Either Text ServerMessage Source # | |