Hoogle Search

Within LTS Haskell 24.68 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. dataInputStreamReadLineUtf8 :: (HasCallStack, MonadIO m, IsDataInputStream a, IsCancellable b) => a -> Maybe b -> m (Maybe Text, CSize)

    gi-gio GI.Gio.Objects.DataInputStream

    Reads a UTF-8 encoded line from the data input stream. If cancellable is not Nothing, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error IOErrorEnumCancelled will be returned. Since: 2.30

  2. dataInputStreamReadUint16 :: (HasCallStack, MonadIO m, IsDataInputStream a, IsCancellable b) => a -> Maybe b -> m Word16

    gi-gio GI.Gio.Objects.DataInputStream

    Reads an unsigned 16-bit/2-byte value from stream. In order to get the correct byte order for this read operation, see dataInputStreamGetByteOrder and dataInputStreamSetByteOrder.

  3. dataInputStreamReadUint32 :: (HasCallStack, MonadIO m, IsDataInputStream a, IsCancellable b) => a -> Maybe b -> m Word32

    gi-gio GI.Gio.Objects.DataInputStream

    Reads an unsigned 32-bit/4-byte value from stream. In order to get the correct byte order for this read operation, see dataInputStreamGetByteOrder and dataInputStreamSetByteOrder. If cancellable is not Nothing, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error IOErrorEnumCancelled will be returned.

  4. dataInputStreamReadUint64 :: (HasCallStack, MonadIO m, IsDataInputStream a, IsCancellable b) => a -> Maybe b -> m Word64

    gi-gio GI.Gio.Objects.DataInputStream

    Reads an unsigned 64-bit/8-byte value from stream. In order to get the correct byte order for this read operation, see dataInputStreamGetByteOrder. If cancellable is not Nothing, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error IOErrorEnumCancelled will be returned.

  5. dataInputStreamReadUntil :: (HasCallStack, MonadIO m, IsDataInputStream a, IsCancellable b) => a -> Text -> Maybe b -> m (Text, CSize)

    gi-gio GI.Gio.Objects.DataInputStream

    Deprecated: (Since version 2.56)Use dataInputStreamReadUpto instead, which has moreconsistent behaviour regarding the stop character.

  6. dataInputStreamReadUntilAsync :: (HasCallStack, MonadIO m, IsDataInputStream a, IsCancellable b) => a -> Text -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m ()

    gi-gio GI.Gio.Objects.DataInputStream

    Deprecated: (Since version 2.56)Use dataInputStreamReadUptoAsync instead, whichhas more consistent behaviour regarding the stop character.

  7. dataInputStreamReadUntilFinish :: (HasCallStack, MonadIO m, IsDataInputStream a, IsAsyncResult b) => a -> b -> m (Text, CSize)

    gi-gio GI.Gio.Objects.DataInputStream

    Deprecated: (Since version 2.56)Use dataInputStreamReadUptoFinish instead, whichhas more consistent behaviour regarding the stop character.

  8. dataInputStreamReadUpto :: (HasCallStack, MonadIO m, IsDataInputStream a, IsCancellable b) => a -> Text -> Int64 -> Maybe b -> m (Text, CSize)

    gi-gio GI.Gio.Objects.DataInputStream

    Reads a string from the data input stream, up to the first occurrence of any of the stop characters. In contrast to dataInputStreamReadUntil, this function does not consume the stop character. You have to use dataInputStreamReadByte to get it before calling dataInputStreamReadUpto again. Note that stopChars may contain '\0' if stopCharsLen is specified. The returned string will always be nul-terminated on success. Since: 2.26

  9. dataInputStreamReadUptoAsync :: (HasCallStack, MonadIO m, IsDataInputStream a, IsCancellable b) => a -> Text -> Int64 -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m ()

    gi-gio GI.Gio.Objects.DataInputStream

    The asynchronous version of dataInputStreamReadUpto. It is an error to have two outstanding calls to this function. In contrast to dataInputStreamReadUntil, this function does not consume the stop character. You have to use dataInputStreamReadByte to get it before calling dataInputStreamReadUpto again. Note that stopChars may contain '\0' if stopCharsLen is specified. When the operation is finished, callback will be called. You can then call dataInputStreamReadUptoFinish to get the result of the operation. Since: 2.26

  10. dataInputStreamReadUptoFinish :: (HasCallStack, MonadIO m, IsDataInputStream a, IsAsyncResult b) => a -> b -> m (Text, CSize)

    gi-gio GI.Gio.Objects.DataInputStream

    Finish an asynchronous call started by dataInputStreamReadUptoAsync. Note that this function does not consume the stop character. You have to use dataInputStreamReadByte to get it before calling dataInputStreamReadUptoAsync again. The returned string will always be nul-terminated on success. Since: 2.24

Page 509 of many | Previous | Next