Module: RIO::RecType::Bytes::Input
- Defined in:
- lib/rio/rectype.rb
Instance Method Summary collapse
Instance Method Details
#each_rec_(&block) ⇒ Object
71 72 73 74 75 76 77 78 |
# File 'lib/rio/rectype.rb', line 71 def each_rec_(&block) #p callstr('each_rec_ (EachIter::Bytes)') # p 'each_rec_ => each_line' self.ior.each_bytes(cx['bytes_n']) { |b| yield b } self end |
#get_(nb = get_arg_()) ⇒ Object
68 69 70 |
# File 'lib/rio/rectype.rb', line 68 def get_(nb=get_arg_()) self.ior.read(nb) end |
#get_arg_ ⇒ Object
65 66 67 |
# File 'lib/rio/rectype.rb', line 65 def get_arg_() cx['bytes_n'] end |