Deserializes a byte array into a UserId object.
the deserialized UserId object
the byte array to deserialize
if an I/O error occurs during deserialization