class BinData::Base

def to_binary_s(&block)

Returns the string representation of this data object.
def to_binary_s(&block)
  io = BinData::IO.create_string_io
  write(io, &block)
  io.string
end