Esempio n. 1
0
        public void Write(List <byte> dest)
        {
            Id.Write(dest);
            LastSeen.Write(dest);
            dest.AddRange(BufUtils.Random(60));     // Reserved space

            var mapping = CreateMapping();

            mapping.Write(dest);
        }
Esempio n. 2
0
        public override void Write(BufRefStream dest)
        {
            if (Destination != null)
            {
                Destination.Write(dest);
                return;
            }

            Ident.Write(dest);
        }
Esempio n. 3
0
 public override void Write(BufRefStream dest)
 {
     base.Write(dest);
     Destination.Write(dest);
     if ((Flag & (byte)DeliveryFlags.Delay) != 0)
     {
         dest.Write(BufUtils.Flip32B(0));
     }
     dest.Write((BufRefLen)Message.CreateHeader16.HeaderAndPayload);
 }
Esempio n. 4
0
 public override void Write(List <byte> dest)
 {
     base.Write(dest);
     Destination.Write(dest);
     if ((Flag & (byte)DeliveryFlags.Delay) != 0)
     {
         dest.AddRange(BufUtils.Flip32B(0));
     }
     dest.AddRange(Message.Header16.HeaderAndPayload);
 }
Esempio n. 5
0
        public void Write(BufRefStream dest)
        {
            Id.Write(dest);
            LastSeen.Write(dest);
            Created.Write(dest);
            dest.Write(BufUtils.RandomBytes(52));     // Reserved space

            var mapping = CreateMapping();

            mapping.Write(dest);
        }
Esempio n. 6
0
 public override void Write(BufRefStream dest)
 {
     Ident.Write(dest);
 }