public void Deserialize(byte[] data) { var reader = new BigEndianReader(new MemoryStream(data)); reader.ReadByte(); reader.ReadByte(); this.SkinId = reader.ReadByte(); this.Username = reader.ReadEndString(); }