gi-glib-2.0.6: GLib bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.GLib.Structs.ByteArray

Contents

Description

Contains the public fields of a GByteArray.

Synopsis

Exported types

newtype ByteArray Source #

Instances

BoxedObject ByteArray Source # 

Methods

boxedType :: ByteArray -> IO GType

(~) AttrOpTag tag AttrSet => Constructible ByteArray tag Source # 

Methods

new :: MonadIO m => (ForeignPtr ByteArray -> ByteArray) -> [AttrOp ByteArray tag] -> m ByteArray

((~) * info (ResolveByteArrayMethod t ByteArray), MethodInfo * info ByteArray p) => IsLabel t (ByteArray -> p) Source # 

Methods

fromLabel :: Proxy# Symbol t -> ByteArray -> p #

((~) * info (ResolveByteArrayMethod t ByteArray), MethodInfo * info ByteArray p) => IsLabelProxy t (ByteArray -> p) Source # 

Methods

fromLabelProxy :: Proxy Symbol t -> ByteArray -> p

HasAttributeList * ByteArray Source # 
type AttributeList ByteArray Source # 
type AttributeList ByteArray

newZeroByteArray :: MonadIO m => m ByteArray Source #

Construct a ByteArray struct initialized to zero.

Methods

byteArrayFree

byteArrayFreeToBytes

byteArrayNew

byteArrayNewTake

byteArrayUnref

Properties

Data

byteArrayData :: AttrLabelProxy "data" Source #

Len

byteArrayLen :: AttrLabelProxy "len" Source #