} else if (type.hasTag(MibTypeTag.APPLICATION_CATEGORY, 4)) {
// Opaque
return new AsnOctets(value);
} else if (type.hasTag(MibTypeTag.APPLICATION_CATEGORY, 6)) {
// Counter64
return new AsnUnsInteger64(parseLong(value));
} else {
throw new SnmpException("Unsupported MIB type: " + type);
}
}