BytesOp

Bitwise operations on bytestrings.


License
BSD-3-Clause
Install
pip install BytesOp==0.4

Documentation

BytesOp

https://travis-ci.org/janbrohl/BytesOp.svg?branch=master

BytesOp is an extension library providing fast bitwise operations on bytes-like objects for Python 2 and 3.

Functions in module bytesop

op_and(...)
AND two bytes-like objects.
op_nand(...)
NAND two bytes-like objects.
op_nor(...)
NOR two bytes-like objects.
op_not(...)
NOT a bytes-like object.
op_or(...)
OR two bytes-like objects.
op_xnor(...)
XNOR (NXOR) two bytes-like objects.
op_xor(...)
XOR two bytes-like objects.