Closed michilu closed 5 years ago
fixes #145
The maximum capacity of the following two slices is limited to (2^29)-1 to remain compatible with 32-bit platforms. The size of a *C.char (a pointer) is 4 Byte on a 32-bit system and (2^29)*4 == math.MaxInt32 + 1.
*C.char
refs:
fixes #145
The maximum capacity of the following two slices is limited to (2^29)-1 to remain compatible with 32-bit platforms. The size of a
*C.char
(a pointer) is 4 Byte on a 32-bit system and (2^29)*4 == math.MaxInt32 + 1.refs: