Show More
@@ -510,7 +510,7 b' def decodeknown(objs):' | |||||
510 | # Bytestring where each byte is a 0 or 1. |
|
510 | # Bytestring where each byte is a 0 or 1. | |
511 | raw = next(objs) |
|
511 | raw = next(objs) | |
512 |
|
512 | |||
513 |
return [True if |
|
513 | return [True if raw[i:i + 1] == b'1' else False for i in range(len(raw))] | |
514 |
|
514 | |||
515 | def decodelistkeys(objs): |
|
515 | def decodelistkeys(objs): | |
516 | # Map with bytestring keys and values. |
|
516 | # Map with bytestring keys and values. |
General Comments 0
You need to be logged in to leave comments.
Login now