Class: Capnp::Data
Constant Summary
collapse
- Elem =
type_member { {fixed: Integer} }
Instance Attribute Summary
Attributes inherited from BufferList
#element_type, #length
Instance Method Summary
collapse
Methods inherited from BufferList
from_pointer, #initialize
Methods included from List
#[], #each, #length
Instance Method Details
#to_obj ⇒ Object
18
|
# File 'lib/capnp/runtime/list/buffer/data.rb', line 18
def to_obj = value
|
#value ⇒ Object
10
|
# File 'lib/capnp/runtime/list/buffer/data.rb', line 10
def value = @data.read_bytes(0, @length)
|