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