| 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 |
GI.Gio.Structs.InputVector
Description
Structure used for scatter/gather data input. You generally pass in an array of #GInputVectors and the operation will store the read data starting in the first buffer, switching to the next as needed.
- newtype InputVector = InputVector (ForeignPtr InputVector)
- newZeroInputVector :: MonadIO m => m InputVector
- noInputVector :: Maybe InputVector
- inputVectorReadBuffer :: InputVector -> IO (Ptr ())
- inputVectorReadSize :: InputVector -> IO Word64
Exported types
newtype InputVector Source
Constructors
| InputVector (ForeignPtr InputVector) |
Instances
| ((~) * info (ResolveInputVectorMethod t InputVector), MethodInfo * info InputVector p) => IsLabel t (InputVector -> p) Source | |
| ((~) * info (ResolveInputVectorMethod t InputVector), MethodInfo * info InputVector p) => IsLabelProxy t (InputVector -> p) Source | |
newZeroInputVector :: MonadIO m => m InputVector Source
Construct a InputVector struct initialized to zero.
Properties
Buffer
inputVectorReadBuffer :: InputVector -> IO (Ptr ()) Source