Beispiel #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);
        }
Beispiel #2
0
 public RecordA(RecordReader rr)
 {
     Address = new System.Net.IPAddress(rr.ReadBytes(4));
 }
Beispiel #3
0
 public RecordNSAP(RecordReader rr)
 {
     LENGTH      = rr.ReadUInt16();
     NSAPADDRESS = rr.ReadBytes(LENGTH);
 }