deserialize binary