Module: RIO::RecType::Bytes::Input
- Defined in:
- lib/rio/rectype.rb
Instance Method Summary collapse
Instance Method Details
#each_rec_(&block) ⇒ Object
61 62 63 64 65 66 67 |
# File 'lib/rio/rectype.rb', line 61 def each_rec_(&block) #p callstr('each_rec_ (EachIter::Bytes)') self.ior.each_bytes(cx['bytes_n']) { |b| yield b } self end |
#get_(nb = get_arg_()) ⇒ Object
58 59 60 |
# File 'lib/rio/rectype.rb', line 58 def get_(nb=get_arg_()) self.ior.read(nb) end |
#get_arg_ ⇒ Object
55 56 57 |
# File 'lib/rio/rectype.rb', line 55 def get_arg_() cx['bytes_n'] end |