mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
6670f0b757
- http://cheeseshop.python.org/ -> https://pypi.python.org/ - http://pypi.python.org/ -> https://pypi.python.org/ With hat: python Approved by: bapt (portmgr)
12 lines
686 B
Plaintext
12 lines
686 B
Plaintext
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 contiguous block of memory. The user
|
|
can select between two representations; little-endian and big-endian. Most 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.
|
|
|
|
WWW: https://pypi.python.org/pypi/bitarray
|