Example #1
0
        public static ConsolePacket Package(MemoryStream memStream)
        {
            ConsolePacket p = new ConsolePacket();

            p.Contents = memStream.ToArray();
            return(p);
        }
Example #2
0
        public static ConsolePacket Package(byte[] packet)
        {
            ConsolePacket p = new ConsolePacket();

            p.Contents = packet;
            return(p);
        }