|  | Belle II Software
    release-08-02-05
    | 


| Public Member Functions | |
| def | __init__ (self, data, bitlength=None, offset=None) | 
| def | getbit (self, pos) | 
| def | getbyte (self, pos) | 
| def | getbyteslice (self, start, end) | 
| def | bytelength (self) | 
| def | __copy__ (self) | 
| def | byteoffset (self) | 
| def | rawbytes (self) | 
| Public Attributes | |
| offset | |
| bitlength | |
| Private Member Functions | |
| def | _appendstore (self, store) | 
| def | _prependstore (self, store) | 
| Private Attributes | |
| _rawarray | |
| Static Private Attributes | |
| tuple | __slots__ = ('offset', '_rawarray', 'bitlength') | 
Stores raw bytes together with a bit offset and length. Used internally - not part of public interface.
Definition at line 132 of file bitstring.py.
| def __init__ | ( | self, | |
| data, | |||
| bitlength = None, | |||
| offset = None | |||
| ) | 
data is either a bytearray or a MmapByteArray
Definition at line 140 of file bitstring.py.
| 
 | private | 
Join another store on to the end of this one.
Definition at line 175 of file bitstring.py.
| 
 | private | 
Join another store on to the start of this one.
Definition at line 191 of file bitstring.py.
| def getbyte | ( | self, | |
| pos | |||
| ) | 
Direct access to byte data.
Definition at line 155 of file bitstring.py.
| def getbyteslice | ( | self, | |
| start, | |||
| end | |||
| ) | 
Direct access to byte data.
Definition at line 159 of file bitstring.py.