Lines Matching full:bytes
79 /* _PyLong_FromByteArray: View the n unsigned bytes as a binary integer in
82 If little_endian is 1/true, bytes[n-1] is the MSB and bytes[0] the LSB;
83 else (little_endian is 0/false) bytes[0] is the MSB and bytes[n-1] the
85 If is_signed is 0/false, view the bytes as a non-negative integer.
86 If is_signed is 1/true, view the bytes as a 2's-complement integer,
93 const unsigned char* bytes, size_t n,
97 v to a base-256 integer, stored in array bytes. Normally return 0,
99 If little_endian is 1/true, store the MSB at bytes[n-1] and the LSB at
100 bytes[0]; else (little_endian is 0/false) store the MSB at bytes[0] and
101 the LSB at bytes[n-1].
102 If is_signed is 0/false, it's an error if v < 0; else (v >= 0) n bytes
104 If is_signed is 1/true, bytes is filled with the 2's-complement
107 + is_signed is 0 and v < 0. TypeError is set in this case, and bytes
113 case, but bytes holds the least-signficant n bytes of the true value.
116 unsigned char* bytes, size_t n,