struct CapnProto::Pointer::Struct

Defined in:

capnproto/pointer_struct.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(segment : CapnProto::Segment, byte_offset : UInt32, data_word_count : UInt16, pointer_count : UInt16) #

[View source]

Class Method Detail

def self.empty(segment) #

[View source]
def self.parse_from(segment : CapnProto::Segment, current_offset : UInt32, value : UInt64) : CapnProto::Pointer::Struct #

[View source]

Instance Method Detail

def absolute_address #

[View source]
def assert_union!(n : UInt32, value : UInt16) : Nil #

[View source]
def bool(n : UInt32, bit_mask : UInt8) : Bool #

[View source]
def bool_if_set(n : UInt32, bit_mask : UInt8) : Bool | Nil #

[View source]
def capn_proto_address #

[View source]
def check_union(n : UInt32, value : UInt16) : Bool #

[View source]
def data(n : UInt16) : Bytes #

[View source]
def data_if_set(n : UInt16) : Bytes | Nil #

[View source]
def f32(n : UInt32) : Float32 #

[View source]
def f32_if_set(n : UInt32) : Float32 | Nil #

[View source]
def f64(n : UInt32) : Float64 #

[View source]
def f64_if_set(n : UInt32) : Float64 | Nil #

[View source]
def i16(n : UInt32) : Int16 #

[View source]
def i16_if_set(n : UInt32) : Int16 | Nil #

[View source]
def i32(n : UInt32) : Int32 #

[View source]
def i32_if_set(n : UInt32) : Int32 | Nil #

[View source]
def i64(n : UInt32) : Int64 #

[View source]
def i64_if_set(n : UInt32) : Int64 | Nil #

[View source]
def i8(n : UInt32) : Int8 #

[View source]
def i8_if_set(n : UInt32) : Int8 | Nil #

[View source]
def list(n : UInt16) : CapnProto::Pointer::StructList #

[View source]
def list_if_set(n : UInt16) : CapnProto::Pointer::StructList | Nil #

[View source]
def struct(n : UInt16) : CapnProto::Pointer::Struct #

[View source]
def struct_if_set(n : UInt16) : CapnProto::Pointer::Struct | Nil #

[View source]
def text(n : UInt16) : String #

[View source]
def text_if_set(n : UInt16) : String | Nil #

[View source]
def u16(n : UInt32) : UInt16 #

[View source]
def u16_if_set(n : UInt32) : UInt16 | Nil #

[View source]
def u32(n : UInt32) : UInt32 #

[View source]
def u32_if_set(n : UInt32) : UInt32 | Nil #

[View source]
def u64(n : UInt32) : UInt64 #

[View source]
def u64_if_set(n : UInt32) : UInt64 | Nil #

[View source]
def u8(n : UInt32) : UInt8 #

[View source]
def u8_if_set(n : UInt32) : UInt8 | Nil #

[View source]