Ruby  3.4.0dev (2024-12-06 revision 892c46283a5ea4179500d951c9d4866c0051f27b)
Data Fields
rb_memory_view_item_component_t Struct Reference

Memory view component metadata. More...

#include <memory_view.h>

Data Fields

char format
 
bool native_size_p
 :FIXME: what is a "native" size is unclear. More...
 
bool little_endian_p
 Endian of the component. More...
 
size_t offset
 The component's offset. More...
 
size_t size
 The component's size. More...
 
size_t repeat
 How many numbers of components are there. More...
 

Detailed Description

Memory view component metadata.

Definition at line 45 of file memory_view.h.

Field Documentation

◆ format

char rb_memory_view_item_component_t::format
See also
rb_memory_view_t::format

Definition at line 47 of file memory_view.h.

Referenced by rb_memory_view_parse_item_format().

◆ little_endian_p

bool rb_memory_view_item_component_t::little_endian_p

Endian of the component.

Definition at line 53 of file memory_view.h.

◆ native_size_p

bool rb_memory_view_item_component_t::native_size_p

:FIXME: what is a "native" size is unclear.

Definition at line 50 of file memory_view.h.

◆ offset

size_t rb_memory_view_item_component_t::offset

The component's offset.

Definition at line 56 of file memory_view.h.

◆ repeat

size_t rb_memory_view_item_component_t::repeat

How many numbers of components are there.

For instance "CCC"'s repeat is 3.

Definition at line 65 of file memory_view.h.

Referenced by rb_memory_view_extract_item_members().

◆ size

size_t rb_memory_view_item_component_t::size

The component's size.

Definition at line 59 of file memory_view.h.


The documentation for this struct was generated from the following file: