class Gio::InputVector

Overview

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.

Defined in:

lib/gi-crystal/src/auto/gio-2.0/input_vector.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pointer : Pointer(Void), transfer : GICrystal::Transfer) #

[View source]
def self.new(data : LibGio::InputVector, transfer : GICrystal::Transfer) #

[View source]
def self.new(size : UInt64 | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) : Bool #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


[View source]
def buffer : Pointer(Void) | Nil #

[View source]
def buffer! #

[View source]
def size : UInt64 #

[View source]
def size=(value : UInt64) #

[View source]
def to_unsafe #

[View source]