Module prototypes :: Class SEVENBITSTRING
[hide private]
[frames] | no frames]

Class SEVENBITSTRING

source code

       object --+    
                |    
BaseProtogenClass --+
                    |
                   SEVENBITSTRING

A text string where ASCII characters are stored as packed 7 bit characters. This is typically used in SMS messages.

Instance Methods [hide private]
 
__init__(self, *args, **kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_update(self, args, kwargs) source code
 
readfrombuffer(self, buf)
Get our value from the buffer
source code
 
getvalue(self)
Returns the string we are
source code

Inherited from BaseProtogenClass: autologread, autologwrite, iscontainer, packetsize, packetspan, update, writetobuffer

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Parameters:
  • terminator - (Default=) The termination character
  • sizeinbytes - Amount of space the string sits in
Overrides: object.__init__

_update(self, args, kwargs)

source code 
Overrides: BaseProtogenClass._update

readfrombuffer(self, buf)

source code 

Get our value from the buffer

Overrides: BaseProtogenClass.readfrombuffer
(inherited documentation)

getvalue(self)

source code 

Returns the string we are

Overrides: BaseProtogenClass.getvalue