public RTKEY(PersistedReader reader) { Algo = reader.ReadDomainName(); Inception = reader.ReadUInt16(); Expiration = reader.ReadUInt16(); Mode = reader.ReadUInt16(); EResourceRecordOR = reader.ReadUInt16(); KeySize = reader.ReadUInt16(); KeyData = reader.ReadBytes(KeySize); PayloadLength = reader.ReadUInt16(); PayloadData = reader.ReadBytes(PayloadLength); }
public RTSIG(PersistedReader reader) { AlgoName = reader.ReadDomainName(); TimeSIgned = reader.ReadUInt16() << 32 | reader.ReadUInt16(); Fudge = reader.ReadUInt16(); MacSize = reader.ReadUInt16(); Mac = reader.ReadBytes(MacSize); OriginalID = reader.ReadUInt16(); EResourceRecordOR = reader.ReadUInt16(); PayloadLength = reader.ReadUInt16(); PayloadData = reader.ReadBytes(PayloadLength); }
public RNULL(PersistedReader reader) { reader.BaseStream.Position -= 2; ushort length = reader.ReadUInt16(); Buffer = new byte[length]; Buffer = reader.ReadBytes(Buffer.Length); }
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); }
public RA(PersistedReader reader) { Address = new IPAddress(reader.ReadBytes(4)); }
public RNSAP(PersistedReader reader) { Length = reader.ReadUInt16(); NsapAddress = reader.ReadBytes(Length); }
public RUnknown(PersistedReader reader) { reader.BaseStream.Position -= 2; Data = reader.ReadBytes(reader.ReadUInt16()); }