bitstring¶ bistring.Bytes is a replacement for Python’s byte. class bitstring.Bytes(value, enc=None)[source]¶ Bases: bytes classmethod fill(prefix, length)[source]¶ Provides an easy way to create a byte array of a specified length and content bitstring.getBytes(arg1, arg2='utf-8')[source]¶