Exemplo n.º 1
0
 /// <summary>
 /// WKS Record Type Consructor
 /// </summary>
 /// <param name="buffer"></param>
 /// <param name="length"></param>
 public WksRecord(DataBuffer buffer, int length)
 {
     ipAddress = buffer.ReadIPAddress();
     protocol  = buffer.ReadByte();
     services  = new Byte[length - 5];
     for (int i = 0; i < (length - 5); i++)
     {
         services[i] = buffer.ReadByte();
     }
 }