Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
xorBS :: TVar ByteString -> ByteString -> IO ByteString Source #
Instances
Transport tp => Transport (XOR tp) Source # | |
Defined in Metro.TP.XOR data TransportConfig (XOR tp) :: Type # newTransport :: TransportConfig (XOR tp) -> IO (XOR tp) # recvData :: XOR tp -> Int -> IO ByteString # sendData :: XOR tp -> ByteString -> IO () # closeTransport :: XOR tp -> IO () # | |
data TransportConfig (XOR tp) Source # | |
Defined in Metro.TP.XOR |
xorConfig :: FilePath -> TransportConfig tp -> TransportConfig (XOR tp) Source #