public RKEY(PersistedReader reader) { Flags = reader.ReadUInt16(); Protocol = reader.ReadByte(); Algo = reader.ReadByte(); PKey = reader.ReadString(); }
public RLOC(PersistedReader reader) { Version = reader.ReadByte(); // must be 0! Size = reader.ReadByte(); HPreference = reader.ReadByte(); VPreference = reader.ReadByte(); Latitude = reader.ReadUInt16(); Longitude = reader.ReadUInt16(); Altitude = reader.ReadUInt16(); }
public RSIG(PersistedReader reader) { TypeCovered = reader.ReadUInt16(); Algo = reader.ReadByte(); Labels = reader.ReadByte(); TTL = reader.ReadUInt16(); SigExpiration = reader.ReadUInt16(); SigInception = reader.ReadUInt16(); KeyTag = reader.ReadUInt16(); SigName = reader.ReadDomainName(); Sig = reader.ReadString(); }
public RDS(PersistedReader reader) { reader.BaseStream.Position -= 2; ushort length = reader.ReadUInt16(); KeyTag = reader.ReadUInt16(); Algo = reader.ReadByte(); DigestType = reader.ReadByte(); length -= 4; Digest = new byte[length]; Digest = reader.ReadBytes(Digest.Length); }
public RWKS(PersistedReader reader) { reader.BaseStream.Position -= 2; ushort length = reader.ReadUInt16(); Address = string.Format("{0}.{1}.{2}.{3}", reader.ReadByte(), reader.ReadByte(), reader.ReadByte(), reader.ReadByte()); Protocol = (int)reader.ReadByte(); length -= 5; Bitmap = new byte[length]; Bitmap = reader.ReadBytes(length); }