Esempio n. 1
0
        public RecordDS(RecordReader rr)
        {
            ushort length = rr.ReadUInt16(-2);

            KEYTAG     = rr.ReadUInt16();
            ALGORITHM  = rr.ReadByte();
            DIGESTTYPE = rr.ReadByte();
            length    -= 4;
            DIGEST     = new byte[length];
            DIGEST     = rr.ReadBytes(length);
        }
Esempio n. 2
0
 public RecordA(RecordReader rr)
 {
     Address = new System.Net.IPAddress(rr.ReadBytes(4));
 }
Esempio n. 3
0
 public RecordNSAP(RecordReader rr)
 {
     LENGTH      = rr.ReadUInt16();
     NSAPADDRESS = rr.ReadBytes(LENGTH);
 }