module MessagePack

def load(src, param = nil)

def load(src, param = nil)
  unpacker = nil
  if src.is_a? String
    unpacker = DefaultFactory.unpacker param
    unpacker.feed_reference src
  else
    unpacker = DefaultFactory.unpacker src, param
  end
  unpacker.full_unpack
end

def pack(v, io = nil, options = nil)

def pack(v, io = nil, options = nil)
  packer = DefaultFactory.packer(io, options)
  packer.write v
  packer.full_pack
end