PySNMP: ASN.1: Encoding: BER: Base: SimpleAsn1Object methods

### Objects of the base.SimpleAsn1Object class

Instances of base.SimpleAsn1Object implement the following public methods:

berEncode([value])

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

  The optional value argument may be used to assign a new value to ASN.1 object prior to running BER encoding method against this ASN.1 object. The type of value 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).