fdd86d17ac
Conversions such as will be invalid with Go 1.14 (*[1<<30]byte)(unsafe.Pointer(data)) The recommended way is to use: *(*[]byte)(unsafe.Pointer( &reflect.SliceHeader{ Data: uintptr(unsafe.Pointer(data)), Len: int(length), Cap: int(length), }, )) Also fixed a memory leak. Change-Id: I1768b7b85505e6b57b49deb62a510474f1bf84c1 |
||
---|---|---|
.. | ||
uplink | ||
uplink-gomobile | ||
uplinkc |