diff options
Diffstat (limited to 'src/Crypto/Tox.hs')
-rw-r--r-- | src/Crypto/Tox.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Crypto/Tox.hs b/src/Crypto/Tox.hs index 9b097c7e..839bd68a 100644 --- a/src/Crypto/Tox.hs +++ b/src/Crypto/Tox.hs | |||
@@ -199,6 +199,7 @@ putEncrypted :: Encrypted a -> Put | |||
199 | putEncrypted (Encrypted bs) = putByteString bs | 199 | putEncrypted (Encrypted bs) = putByteString bs |
200 | 200 | ||
201 | newtype Plain (s:: * -> Constraint) a = Plain ByteString | 201 | newtype Plain (s:: * -> Constraint) a = Plain ByteString |
202 | deriving (Eq,Ord,Show,ByteArrayAccess) | ||
202 | 203 | ||
203 | 204 | ||
204 | decodePlain :: Serialize a => Plain Serialize a -> Either String a | 205 | decodePlain :: Serialize a => Plain Serialize a -> Either String a |