Method: Sequence#readbehind

Defined in:
lib/sequence.rb

#readbehind(len) ⇒ Object

read data behind the current position, leaving position unchanged



102
103
104
105
# File 'lib/sequence.rb', line 102

def readbehind(len)
  len>pos and len=pos
  read move( -len)
end