PySNMP: ASN.1: Encoding: BER: Base: Methods of variable-structure objects

### Objects of variable-structure BER facility classes

Instances of OrderedVariableTypeAsn1Object, UnorderedVariableTypeAsn1Object and classes implement the following public methods:

berEncode([args])

  Returns BER-encoded contents of the structured ASN.1 object (as string).

  The optional args argument (a list of ASN.1 class instances) may be used to assign a new value to this ASN.1 object prior to running BER encoding method against this ASN.1 object. The value of args should be acceptable by the ASN.1 object class this BER facility is mixed with.

berDecode(octetStream)

  Decodes octetStream (string) into the payload of the ASN.1 object and returns the unprocessed part of the octetStream (as string).