Esempio n. 1
0
        public SnmpBER(ulong c, SnmpType t)
        {
            type = new SnmpTag(t);
            e    = true;
            b    = new byte[ULongLength(c)];
            int n = 0;

            PutULong(ref n, c);
        }
Esempio n. 2
0
 public SnmpBER(byte[] a) // IPAddress
 {
     type = new SnmpTag(SnmpType.IPAddress);
     e    = true;
     b    = a;
 }
Esempio n. 3
0
 public SnmpBER(SnmpType t)
 {
     b    = new byte[0];
     e    = true;
     type = new SnmpTag(t);
 }