private byte[] _hash; // Hashed password public Login(Octet data) { _packetLength = data.UnMarshalByte(); _usernameLength = data.UnMarshalByte(); _username = Encoding.ASCII.GetString(data.UnMarshalBytes(_usernameLength)); _hashLength = data.UnMarshalByte(); _hash = data.UnMarshalBytes(_hashLength); }
public CMKey(Octet data) { _packetLength = data.UnMarshalByte(); _keyLength = data.UnMarshalByte(); _key = data.UnMarshalBytes(_keyLength); _unknown = data.UnMarshalByte(); }