MCPcopy Create free account
hub / github.com/PiLiDAR/PiLiDAR / shift_bytes

Function shift_bytes

lib/binary_utils.py:26–27  ·  view source on GitHub ↗
(data, shift=1)

Source from the content-addressed store, hash-verified

24 return byte_string
25
26def shift_bytes(data, shift=1):
27 return data[-shift:] + data[:-shift]
28
29
30if __name__ == '__main__':

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected