parent
2eb32ee177
commit
a6cce5e611
|
@ -38,6 +38,7 @@ Kongqun Yang <kqyang@google.com>
|
|||
Leandro Moreira <leandro.ribeiro.moreira@gmail.com>
|
||||
Leo Law <leoltlaw.gh@gmail.com>
|
||||
Piotr Srebrny <srebrny.piotr@gmail.com>
|
||||
Qingquan Wang <wangqq1103@gmail.com>
|
||||
Richard Eklycke <richard@eklycke.se>
|
||||
Rintaro Kuroiwa <rkuroiwa@google.com>
|
||||
Sanil Raut <sr1990003@gmail.com>
|
||||
|
|
|
@ -142,8 +142,7 @@ def _split_list_on(elems, sep):
|
|||
|
||||
def _create_bin_int(value):
|
||||
"""Creates a binary string as 4-byte array from the given integer."""
|
||||
return (chr(value >> 24) + chr((value >> 16) & 0xff) +
|
||||
chr((value >> 8) & 0xff) + chr(value & 0xff)).encode()
|
||||
return struct.pack('>i', value)
|
||||
|
||||
|
||||
def _create_uuid(data):
|
||||
|
|
Loading…
Reference in New Issue