Unpack data
data (String): Data to deserialize
Object: The unpacked data
# File lib/ruby-serial/versions/1/deserializer.rb, line 17 def unpack_data(data) decoded_data = MessagePack::unpack(data) if (decoded_data['shared_objs'].empty?) return get_original_rec(decoded_data['obj']) else # We need to replace some data before @serialized_shared_objs = decoded_data['shared_objs'] @decoded_shared_objs = {} return get_original_rec(decoded_data['obj']) end end