Exemple #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);
        }
Exemple #2
0
 public SnmpBER(byte[] a) // IPAddress
 {
     type = new SnmpTag(SnmpType.IPAddress);
     e    = true;
     b    = a;
 }
Exemple #3
0
 public SnmpBER(SnmpType t)
 {
     b    = new byte[0];
     e    = true;
     type = new SnmpTag(t);
 }