MCPcopy Create free account
hub / github.com/IncideDigital/Mistica / reverse

Method reverse

utils/bitstring.py:3442–3460  ·  view source on GitHub ↗

Reverse bits in-place. start -- Position of first bit to reverse. Defaults to 0. end -- One past the position of the last bit to reverse. Defaults to self.len. Using on an empty bitstring will have no effect. Raises ValueError if start < 0, end > sel

(self, start=None, end=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

_reverseMethod · 0.80
_reversebytesMethod · 0.80
replaceMethod · 0.80

Calls 3

_validate_sliceMethod · 0.80
_reverseMethod · 0.80
_sliceMethod · 0.80

Tested by

no test coverage detected