struct
Cradare2::CrystalHelper::CrystalArrayHeader
- Cradare2::CrystalHelper::CrystalArrayHeader
- Struct
- Value
- Object
Overview
Struct representing a Crystal Array(T) reference header in target memory (64-bit).
Memory Layout:
- Offset 0:
type_id : Int32(4 bytes) - Offset 4:
size : Int32(4 bytes) - Offset 8:
capacity : Int32(4 bytes) - Offset 12..15: 4 bytes alignment padding
- Offset 16:
buffer : Pointer(T)(8 bytes UInt64)
Defined in:
cradare2/crystal.crConstructors
Instance Method Summary
Constructor Detail
def self.new(address : UInt64, type_id : Int32, size : Int32, capacity : Int32, buffer_address : UInt64)
#