Metadata-Version: 1.1
Name: cs.serialise
Version: 20160828
Summary: some serialisation functions
Home-page: https://bitbucket.org/cameron_simpson/css/commits/all
Author: Cameron Simpson
Author-email: cs@zip.com.au
License: UNKNOWN
Description: Some serialisation functions.
        =============================
        
        I use these functions to serialise and de-serialise non-negative integers of arbitrary size and run length encoded block data.
        
        The integers are encoded as octets in big-endian order, with the high bit indicating that more octets follow.
        
        * get_bs(bs, offset=0): collect an integer from the bytes `bs` at the specified `offset`
        
        * get_bsdata(bs, offset=0): collect a run length encoded data block from the bytes `bs` at the specified `offset`
        
        * get_bsfp(fp): collect an integer from the binary file `fp`
        
        * put_bs(n): return the bytes encoding of the supplied integer `n`
        
        * put_bsdata(data): return the bytes run length encoding of the supplied data block
        
Keywords: python2,python3
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Intended Audience :: Developers
Classifier: Development Status :: 4 - Beta
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
