slackbuilds/python/bitarray
Heinz Wiesinger 63daf9f79a All: Support $PRINT_PACKAGE_NAME env var
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
2021-07-17 21:55:09 +02:00
..
README python/bitarray: Added (Efficient arrays of booleans). 2014-01-29 23:21:04 -06:00
bitarray.SlackBuild All: Support $PRINT_PACKAGE_NAME env var 2021-07-17 21:55:09 +02:00
bitarray.info python/bitarray: Updated homepage and download links. 2017-05-20 06:54:32 +07:00
slack-desc python/bitarray: Updated homepage and download links. 2017-05-20 06:54:32 +07:00

README

Efficient arrays of booleans -- C extension.

This module provides an object type which efficiently represents an
array of booleans. Bitarrays are sequence types and behave very much
like usual lists. Eight bits are represented by one byte in a
contiguous block of memory. The user can select between two
representations; little-endian and big-endian. All of the
functionality is implemented in C. Methods for accessing the machine
representation are provided. This can be useful when bit level access
to binary files is required, such as portable bitmap image files
(.pbm). Also, when dealing with compressed data which uses variable
bit length encoding, you may find this module useful.