Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- Exported types
- Methods
- inputStreamClearPending
- inputStreamClose
- inputStreamCloseAsync
- inputStreamCloseFinish
- inputStreamHasPending
- inputStreamIsClosed
- inputStreamRead
- inputStreamReadAll
- inputStreamReadAllAsync
- inputStreamReadAllFinish
- inputStreamReadAsync
- inputStreamReadBytes
- inputStreamReadBytesAsync
- inputStreamReadBytesFinish
- inputStreamReadFinish
- inputStreamSetPending
- inputStreamSkip
- inputStreamSkipAsync
- inputStreamSkipFinish
- newtype InputStream = InputStream (ForeignPtr InputStream)
- class GObject o => InputStreamK o
- toInputStream :: InputStreamK o => o -> IO InputStream
- noInputStream :: Maybe InputStream
- data InputStreamClearPendingMethodInfo
- inputStreamClearPending :: (MonadIO m, InputStreamK a) => a -> m ()
- data InputStreamCloseMethodInfo
- inputStreamClose :: (MonadIO m, InputStreamK a, CancellableK b) => a -> Maybe b -> m ()
- data InputStreamCloseAsyncMethodInfo
- inputStreamCloseAsync :: (MonadIO m, InputStreamK a, CancellableK b) => a -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m ()
- data InputStreamCloseFinishMethodInfo
- inputStreamCloseFinish :: (MonadIO m, InputStreamK a, AsyncResultK b) => a -> b -> m ()
- data InputStreamHasPendingMethodInfo
- inputStreamHasPending :: (MonadIO m, InputStreamK a) => a -> m Bool
- data InputStreamIsClosedMethodInfo
- inputStreamIsClosed :: (MonadIO m, InputStreamK a) => a -> m Bool
- data InputStreamReadMethodInfo
- inputStreamRead :: (MonadIO m, InputStreamK a, CancellableK b) => a -> ByteString -> Maybe b -> m Int64
- data InputStreamReadAllMethodInfo
- inputStreamReadAll :: (MonadIO m, InputStreamK a, CancellableK b) => a -> ByteString -> Maybe b -> m Word64
- data InputStreamReadAllAsyncMethodInfo
- inputStreamReadAllAsync :: (MonadIO m, InputStreamK a, CancellableK b) => a -> ByteString -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m ()
- data InputStreamReadAllFinishMethodInfo
- inputStreamReadAllFinish :: (MonadIO m, InputStreamK a, AsyncResultK b) => a -> b -> m Word64
- data InputStreamReadAsyncMethodInfo
- inputStreamReadAsync :: (MonadIO m, InputStreamK a, CancellableK b) => a -> ByteString -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m ()
- data InputStreamReadBytesMethodInfo
- inputStreamReadBytes :: (MonadIO m, InputStreamK a, CancellableK b) => a -> Word64 -> Maybe b -> m Bytes
- data InputStreamReadBytesAsyncMethodInfo
- inputStreamReadBytesAsync :: (MonadIO m, InputStreamK a, CancellableK b) => a -> Word64 -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m ()
- data InputStreamReadBytesFinishMethodInfo
- inputStreamReadBytesFinish :: (MonadIO m, InputStreamK a, AsyncResultK b) => a -> b -> m Bytes
- data InputStreamReadFinishMethodInfo
- inputStreamReadFinish :: (MonadIO m, InputStreamK a, AsyncResultK b) => a -> b -> m Int64
- data InputStreamSetPendingMethodInfo
- inputStreamSetPending :: (MonadIO m, InputStreamK a) => a -> m ()
- data InputStreamSkipMethodInfo
- inputStreamSkip :: (MonadIO m, InputStreamK a, CancellableK b) => a -> Word64 -> Maybe b -> m Int64
- data InputStreamSkipAsyncMethodInfo
- inputStreamSkipAsync :: (MonadIO m, InputStreamK a, CancellableK b) => a -> Word64 -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m ()
- data InputStreamSkipFinishMethodInfo
- inputStreamSkipFinish :: (MonadIO m, InputStreamK a, AsyncResultK b) => a -> b -> m Int64
Exported types
newtype InputStream Source
GObject InputStream | |
((~) * info (ResolveInputStreamMethod t InputStream), MethodInfo * info InputStream p) => IsLabelProxy t (InputStream -> p) | |
type ParentTypes InputStream | |
type AttributeList InputStream | |
type SignalList InputStream |
class GObject o => InputStreamK o Source
(GObject o, IsDescendantOf InputStream o) => InputStreamK o |
toInputStream :: InputStreamK o => o -> IO InputStream Source
Methods
inputStreamClearPending
data InputStreamClearPendingMethodInfo Source
((~) * signature (m ()), MonadIO m, InputStreamK a) => MethodInfo * InputStreamClearPendingMethodInfo a signature |
inputStreamClearPending :: (MonadIO m, InputStreamK a) => a -> m () Source
inputStreamClose
data InputStreamCloseMethodInfo Source
((~) * signature (Maybe b -> m ()), MonadIO m, InputStreamK a, CancellableK b) => MethodInfo * InputStreamCloseMethodInfo a signature |
inputStreamClose :: (MonadIO m, InputStreamK a, CancellableK b) => a -> Maybe b -> m () Source
inputStreamCloseAsync
data InputStreamCloseAsyncMethodInfo Source
((~) * signature (Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, InputStreamK a, CancellableK b) => MethodInfo * InputStreamCloseAsyncMethodInfo a signature |
inputStreamCloseAsync :: (MonadIO m, InputStreamK a, CancellableK b) => a -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m () Source
inputStreamCloseFinish
data InputStreamCloseFinishMethodInfo Source
((~) * signature (b -> m ()), MonadIO m, InputStreamK a, AsyncResultK b) => MethodInfo * InputStreamCloseFinishMethodInfo a signature |
inputStreamCloseFinish :: (MonadIO m, InputStreamK a, AsyncResultK b) => a -> b -> m () Source
inputStreamHasPending
data InputStreamHasPendingMethodInfo Source
((~) * signature (m Bool), MonadIO m, InputStreamK a) => MethodInfo * InputStreamHasPendingMethodInfo a signature |
inputStreamHasPending :: (MonadIO m, InputStreamK a) => a -> m Bool Source
inputStreamIsClosed
data InputStreamIsClosedMethodInfo Source
((~) * signature (m Bool), MonadIO m, InputStreamK a) => MethodInfo * InputStreamIsClosedMethodInfo a signature |
inputStreamIsClosed :: (MonadIO m, InputStreamK a) => a -> m Bool Source
inputStreamRead
data InputStreamReadMethodInfo Source
((~) * signature (ByteString -> Maybe b -> m Int64), MonadIO m, InputStreamK a, CancellableK b) => MethodInfo * InputStreamReadMethodInfo a signature |
inputStreamRead :: (MonadIO m, InputStreamK a, CancellableK b) => a -> ByteString -> Maybe b -> m Int64 Source
inputStreamReadAll
data InputStreamReadAllMethodInfo Source
((~) * signature (ByteString -> Maybe b -> m Word64), MonadIO m, InputStreamK a, CancellableK b) => MethodInfo * InputStreamReadAllMethodInfo a signature |
inputStreamReadAll :: (MonadIO m, InputStreamK a, CancellableK b) => a -> ByteString -> Maybe b -> m Word64 Source
inputStreamReadAllAsync
data InputStreamReadAllAsyncMethodInfo Source
((~) * signature (ByteString -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, InputStreamK a, CancellableK b) => MethodInfo * InputStreamReadAllAsyncMethodInfo a signature |
inputStreamReadAllAsync :: (MonadIO m, InputStreamK a, CancellableK b) => a -> ByteString -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m () Source
inputStreamReadAllFinish
data InputStreamReadAllFinishMethodInfo Source
((~) * signature (b -> m Word64), MonadIO m, InputStreamK a, AsyncResultK b) => MethodInfo * InputStreamReadAllFinishMethodInfo a signature |
inputStreamReadAllFinish :: (MonadIO m, InputStreamK a, AsyncResultK b) => a -> b -> m Word64 Source
inputStreamReadAsync
data InputStreamReadAsyncMethodInfo Source
((~) * signature (ByteString -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, InputStreamK a, CancellableK b) => MethodInfo * InputStreamReadAsyncMethodInfo a signature |
inputStreamReadAsync :: (MonadIO m, InputStreamK a, CancellableK b) => a -> ByteString -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m () Source
inputStreamReadBytes
data InputStreamReadBytesMethodInfo Source
((~) * signature (Word64 -> Maybe b -> m Bytes), MonadIO m, InputStreamK a, CancellableK b) => MethodInfo * InputStreamReadBytesMethodInfo a signature |
inputStreamReadBytes :: (MonadIO m, InputStreamK a, CancellableK b) => a -> Word64 -> Maybe b -> m Bytes Source
inputStreamReadBytesAsync
data InputStreamReadBytesAsyncMethodInfo Source
((~) * signature (Word64 -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, InputStreamK a, CancellableK b) => MethodInfo * InputStreamReadBytesAsyncMethodInfo a signature |
inputStreamReadBytesAsync :: (MonadIO m, InputStreamK a, CancellableK b) => a -> Word64 -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m () Source
inputStreamReadBytesFinish
data InputStreamReadBytesFinishMethodInfo Source
((~) * signature (b -> m Bytes), MonadIO m, InputStreamK a, AsyncResultK b) => MethodInfo * InputStreamReadBytesFinishMethodInfo a signature |
inputStreamReadBytesFinish :: (MonadIO m, InputStreamK a, AsyncResultK b) => a -> b -> m Bytes Source
inputStreamReadFinish
data InputStreamReadFinishMethodInfo Source
((~) * signature (b -> m Int64), MonadIO m, InputStreamK a, AsyncResultK b) => MethodInfo * InputStreamReadFinishMethodInfo a signature |
inputStreamReadFinish :: (MonadIO m, InputStreamK a, AsyncResultK b) => a -> b -> m Int64 Source
inputStreamSetPending
data InputStreamSetPendingMethodInfo Source
((~) * signature (m ()), MonadIO m, InputStreamK a) => MethodInfo * InputStreamSetPendingMethodInfo a signature |
inputStreamSetPending :: (MonadIO m, InputStreamK a) => a -> m () Source
inputStreamSkip
data InputStreamSkipMethodInfo Source
((~) * signature (Word64 -> Maybe b -> m Int64), MonadIO m, InputStreamK a, CancellableK b) => MethodInfo * InputStreamSkipMethodInfo a signature |
inputStreamSkip :: (MonadIO m, InputStreamK a, CancellableK b) => a -> Word64 -> Maybe b -> m Int64 Source
inputStreamSkipAsync
data InputStreamSkipAsyncMethodInfo Source
((~) * signature (Word64 -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, InputStreamK a, CancellableK b) => MethodInfo * InputStreamSkipAsyncMethodInfo a signature |
inputStreamSkipAsync :: (MonadIO m, InputStreamK a, CancellableK b) => a -> Word64 -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m () Source
inputStreamSkipFinish
data InputStreamSkipFinishMethodInfo Source
((~) * signature (b -> m Int64), MonadIO m, InputStreamK a, AsyncResultK b) => MethodInfo * InputStreamSkipFinishMethodInfo a signature |
inputStreamSkipFinish :: (MonadIO m, InputStreamK a, AsyncResultK b) => a -> b -> m Int64 Source