public byte[] Receive(byte[] Request) { MemoryStream ms = new MemoryStream(Request); using (BinaryReader messageReader = new BinaryReader(ms)) { AuthObject data = Parse <AuthObject>(messageReader); return((data as AuthMethod).Do()); } }
public void addRow(AuthObject obj) { obj.Write(writer); }