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) #

def self.new(data : LibGio::InputVector, transfer : GICrystal::Transfer) #

def self.new(size : UInt64? = nil) #

Instance Method Detail

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

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


def buffer : Pointer(Void)? #

def buffer! #

def size : UInt64 #

def size=(value : UInt64) #

def to_unsafe #