Lines Matching refs:bytes_le
63 fields in little-endian order) as an argument named 'bytes_le', or a
71 bytes_le the UUID as a 16-byte string (with time_low, time_mid,
101 def __init__(self, hex=None, bytes=None, bytes_le=None, fields=None,
105 in little-endian order as the 'bytes_le' argument, a tuple of six
117 UUID(bytes_le='\x78\x56\x34\x12\x34\x12\x78\x56' +
122 Exactly one of 'hex', 'bytes', 'bytes_le', 'fields', or 'int' must
125 overriding the given 'hex', 'bytes', 'bytes_le', 'fields', or 'int'.
128 if [hex, bytes, bytes_le, fields, int].count(None) != 4:
129 raise TypeError('need one of hex, bytes, bytes_le, fields, or int')
136 if bytes_le is not None:
137 if len(bytes_le) != 16:
138 raise ValueError('bytes_le is not a 16-char string')
139 bytes = (bytes_le[3] + bytes_le[2] + bytes_le[1] + bytes_le[0] +
140 bytes_le[5] + bytes_le[4] + bytes_le[7] + bytes_le[6] +
141 bytes_le[8:])
215 bytes_le = property(get_bytes_le)