‘10101111’ -> (‘¯’, False)
Basically the inverse of conv_packed_binary_string_to_1_0_string, but also returns a flag indicating if we had to pad with leading zeros to get to a multiple of 8.
‘¯’ –> ‘10101111’
Build a packet, given access code, payload, and whitener offset
Parameters: |
|
---|
Packet will have access code at the beginning, followed by length, payload and finally CRC-32.
tuple(iterable) -> tuple initialized from iterable’s items
If the argument is a tuple, the return value is the same object.
Return (ok, payload)
Parameters: |
|
---|