Belle II Software  release-08-01-10
ByteStore Class Reference
Inheritance diagram for ByteStore:
Collaboration diagram for ByteStore:

Public Member Functions

def setbit (self, pos)
 
def unsetbit (self, pos)
 
def invertbit (self, pos)
 
def setbyte (self, pos, value)
 
def setbyteslice (self, start, end, value)
 
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__ = ()
 

Detailed Description

Adding mutating methods to ConstByteStore

Used internally - not part of public interface.

Definition at line 221 of file bitstring.py.

Member Function Documentation

◆ _appendstore()

def _appendstore (   self,
  store 
)
privateinherited
Join another store on to the end of this one.

Definition at line 175 of file bitstring.py.

◆ _prependstore()

def _prependstore (   self,
  store 
)
privateinherited
Join another store on to the start of this one.

Definition at line 191 of file bitstring.py.

◆ getbyte()

def getbyte (   self,
  pos 
)
inherited
Direct access to byte data.

Definition at line 155 of file bitstring.py.

◆ getbyteslice()

def getbyteslice (   self,
  start,
  end 
)
inherited
Direct access to byte data.

Definition at line 159 of file bitstring.py.


The documentation for this class was generated from the following file: