Google

LINK="#0000bb" VLINK="#551a8b" ALINK="#ff0000">

Objects of the univ.OctetString class

Instances of univ.OctetString class emulate an immutable sequence protocol object by means of the following additional methods:

__getitem__(index)

Returns object slice as a OctetString object instance by index (integer or slice type).

__len__()

Returns object value length of OctetString object (as integer).

__add__(value)
__radd__(value)

Returns concatenated OctetString and value (operands reflected for __r*__ version).

__mul__(value)

Returns an OctetString instance with payload repeted value times.


ilya@glas.net