class BinData::Rest


obj.rest #=“ ”fghij“
obj.a #=> ”abcde“
obj = A.read(”abcdefghij“)
end
rest :rest
string :a, read_length: 5
class A < BinData::Record
require ‘bindata’
the stream. This will mainly be useful for debugging and developing.
Rest will consume the input stream from the current position to the end of

def read_and_return_value(io)

def read_and_return_value(io)
  io.read_all_bytes
end

def sensible_default

def sensible_default
  ""
end

def value_to_binary_string(val)

def value_to_binary_string(val)
  val
end