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

Class BOOLlsb

source code

       object --+        
                |        
BaseProtogenClass --+    
                    |    
              UINTlsb --+
                        |
                       BOOLlsb

An Boolean in Least Significant Byte first order

Instance Methods [hide private]
 
__init__(self, *args, **kwargs)
A boolean value can be specified in the constructor.
source code
 
_update(self, args, kwargs) source code
 
_boolme(self) source code
 
readfrombuffer(self, buf)
Get our value from the buffer
source code

Inherited from UINTlsb: getvalue, packetsize, writetobuffer

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

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 

A boolean value can be specified in the constructor.

Keyword arguments are the same a UINTlsb

Parameters:
  • constant - (Optional) A constant value. All reads must have this value
  • constantexception - (Optional) Type of exception raised when data doesn't match constant.
  • sizeinbytes - (Mandatory for writing, else Optional) How big we are in bytes
  • default - (Optional) Our default value
  • value - (Optional) The value
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)