Class: Capnp::BufferString

Inherits:
BufferList show all
Includes:
String
Defined in:
lib/capnp/runtime/list/buffer/string.rb

Constant Summary collapse

Elem =
type_member { {fixed: String} }

Instance Attribute Summary

Attributes inherited from BufferList

#element_type, #length

Instance Method Summary collapse

Methods included from String

#to_obj

Methods included from List

#[], #each, #length, #to_obj

Methods inherited from BufferList

from_pointer, #initialize

Constructor Details

This class inherits a constructor from Capnp::BufferList

Instance Method Details

#to_sObject



13
# File 'lib/capnp/runtime/list/buffer/string.rb', line 13

def to_s = @data.read_string(0, @length - 1)