Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
site-packages
/
rhsm
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/site-packages/rhsm/bitstream.pyo
mň Wx[Uc @ s' d k l Z d e f d YZ d S( ( s dequet GhettoBitStreamc B s_ t Z d Z d Z d Z d Z d Z e d Z e d Z e d Z RS( sú Accepts binary data and makes it available as a stream of bits or one byte at a time. Python does not provide a built-in way to read a stream of bits, or a way to represent a single bit. Thus, this class uses character '0' or '1' to represent the status of each bit. Data is converted into the '0' and '1' characters one byte at a time, since that operation multiplies the size of the data by a factor of 8, and it may not be desirable to inflate all of the data at once. c C s) t d | D | _ t | _ d S( sU :param data: binary data in a string :type data: str c c s x | ] } t | Vq Wd S( N( t [outmost-iterable]t xt ord( R R ( ( t2 /usr/lib/python2.4/site-packages/rhsm/bitstream.pyt <generator expression>"