Ejemplo n.º 1
0
        public void Pack(IObjectReader reader, IByteArray writer)
        {
            var message   = reader.ReadOne() as SendPackage;
            var byteArray = Pack(message);

            writer.WriteBytes(byteArray.Bytes, 0, byteArray.Length);
        }