PATH:
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Fiddle
/
CStructEntity
U:RDoc::AnyMethod[iI"[]:ETI"Fiddle::CStructEntity#[];TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [ I"JFetch struct member +name+ if only one argument is specified. If two ;TI"Iarguments are specified, the first is an offset and the second is a ;TI"Nlength and this method returns the string of +length+ bytes beginning at ;TI"+offset+.;To:RDoc::Markup::BlankLine o; ; [I"Examples:;T@o:RDoc::Markup::Verbatim; [ I"+my_struct = struct(['int id']).malloc ;TI"my_struct.id = 1 ;TI"my_struct['id'] # => 1 ;TI".my_struct[0, 4] # => "\x01\x00\x00\x00".b;T:@format0: @fileI"$ext/fiddle/lib/fiddle/struct.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(*args);T@TI"CStructEntity;TcRDoc::NormalClass00
[-] %2d-i.ri
[edit]
[-] set_ctypes-i.ri
[edit]
[-] size-c.ri
[edit]
[-] malloc-c.ri
[edit]
[-] assign_names-i.ri
[edit]
[-] %5b%5d%3d-i.ri
[edit]
[-] new-c.ri
[edit]
[-] cdesc-CStructEntity.ri
[edit]
[-] %5b%5d-i.ri
[edit]
[+]
..
[-] %2b-i.ri
[edit]
[-] alignment-c.ri
[edit]