struct X11::HostAddress

Overview

Wrapper for X11::C::X::HostAddress structure.

Defined in:

x11/host_address.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(family : Int32, data : Bytes) #

[View source]
def self.new(host_address : X11::C::X::PHostAddress) #

[View source]
def self.new(host_address : X11::C::X::HostAddress) #

[View source]
def self.new(host : ServerInterpretedAddress) #

[View source]

Instance Method Detail

def address : X11::C::PChar #

[View source]
def bytes : Bytes #

[View source]
def chaos? : Bool #

[View source]
def dec_net? : Bool #

[View source]
def family : Int32 #

[View source]
def internet6? : Bool #

[View source]
def internet? : Bool #

[View source]
def length : Int32 #

[View source]
def server_interpreted? #

[View source]
def server_interpreted_address : ServerInterpretedAddress | Nil #

[View source]
def to_unsafe : X11::C::X::PHostAddress #

[View source]
def to_x : X11::C::X::HostAddress #

[View source]