Class: NNCore::LibNanomsg::NNIOVec

Inherits:
FFI::Struct
  • Object
show all
Includes:
NNIOVecLayout
Defined in:
lib/nn-core/structs.rb

Instance Method Summary collapse

Methods included from NNIOVecLayout

included

Instance Method Details

#iov_baseObject



18
19
20
# File 'lib/nn-core/structs.rb', line 18

def iov_base
  self[:iov_base]
end

#iov_base=(pointer) ⇒ Object



22
23
24
# File 'lib/nn-core/structs.rb', line 22

def iov_base=(pointer)
  self[:iov_base] = pointer
end

#iov_lenObject



26
27
28
# File 'lib/nn-core/structs.rb', line 26

def iov_len
  self[:iov_len]
end

#iov_len=(length) ⇒ Object



30
31
32
# File 'lib/nn-core/structs.rb', line 30

def iov_len=(length)
  self[:iov_len] = length
end