Beispiel #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);
        }
Beispiel #2
0
        public override void Write(BufRefStream dest)
        {
            if (Destination != null)
            {
                Destination.Write(dest);
                return;
            }

            Ident.Write(dest);
        }
Beispiel #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);
 }
 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);
 }
Beispiel #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);
        }
Beispiel #6
0
 public override void Write(BufRefStream dest)
 {
     Ident.Write(dest);
 }