Ruby: rb_memory_view_item_component_t Struct Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Data Fields
rb_memory_view_item_component_t Struct Reference

`#include <memory_view.h>`

## Data Fields
char | format
unsigned | native_size_p: 1
unsigned | little_endian_p: 1
size_t | offset
size_t | size
size_t | repeat

## Detailed Description

Definition at line 30 of file memory_view.h.

## Field Documentation

## ◆ format

char rb_memory_view_item_component_t::format

Definition at line 31 of file memory_view.h.

## ◆ little_endian_p

unsigned rb_memory_view_item_component_t::little_endian_p

Definition at line 33 of file memory_view.h.

## ◆ native_size_p

unsigned rb_memory_view_item_component_t::native_size_p

Definition at line 32 of file memory_view.h.

## ◆ offset

size_t rb_memory_view_item_component_t::offset

Definition at line 34 of file memory_view.h.

## ◆ repeat

size_t rb_memory_view_item_component_t::repeat

Definition at line 36 of file memory_view.h.

Referenced by rb_memory_view_extract_item_member(), and rb_memory_view_extract_item_members().

## ◆ size

size_t rb_memory_view_item_component_t::size

Definition at line 35 of file memory_view.h.

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

- include/ruby/memory_view.h