struct

CapnProto::Pointer::Struct

Inherits Struct < Value < Object

Constructors

new(segment : CapnProto::Segment, byte_offset : UInt32, data_word_count : UInt16, pointer_count : UInt16)
Source

Class methods

empty(segment)
Source
parse_from(segment : CapnProto::Segment, current_offset : UInt32, value : UInt64) : CapnProto::Pointer::Struct
Source

Instance methods

absolute_address
Source
assert_union!(n : UInt32, value : UInt16) : Nil
Source
bool(n : UInt32, bit_mask : UInt8) : Bool
Source
bool_if_set(n : UInt32, bit_mask : UInt8) : Bool | Nil
Source
capn_proto_address
Source
check_union(n : UInt32, value : UInt16) : Bool
Source
data(n : UInt16) : Bytes
Source
data_if_set(n : UInt16) : Bytes | Nil
Source
f32_if_set(n : UInt32) : Float32 | Nil
Source
f64_if_set(n : UInt32) : Float64 | Nil
Source
i16(n : UInt32) : Int16
Source
i16_if_set(n : UInt32) : Int16 | Nil
Source
i32(n : UInt32) : Int32
Source
i32_if_set(n : UInt32) : Int32 | Nil
Source
i64(n : UInt32) : Int64
Source
i64_if_set(n : UInt32) : Int64 | Nil
Source
i8(n : UInt32) : Int8
Source
i8_if_set(n : UInt32) : Int8 | Nil
Source
struct_if_set(n : UInt16) : CapnProto::Pointer::Struct | Nil
Source
text(n : UInt16) : String
Source
text_if_set(n : UInt16) : String | Nil
Source
u16(n : UInt32) : UInt16
Source
u16_if_set(n : UInt32) : UInt16 | Nil
Source
u32(n : UInt32) : UInt32
Source
u32_if_set(n : UInt32) : UInt32 | Nil
Source
u64(n : UInt32) : UInt64
Source
u64_if_set(n : UInt32) : UInt64 | Nil
Source
u8_if_set(n : UInt32) : UInt8 | Nil
Source