Beispiel #1
0
        public static PacketHead Unpacking(IReadStream readStream)
        {
            var packetHead = new PacketHead();

            packetHead.FromBytes(readStream);
            return(packetHead);
        }
Beispiel #2
0
 public static void ToBytes(PacketHead packetHead, IWriteStream writeSteam)
 {
     packetHead.ToBytes(writeSteam);
 }