(p unsafe.Pointer, n int)
| 52 | } |
| 53 | |
| 54 | func makeBytes(p unsafe.Pointer, n int) []byte { |
| 55 | return *(*[]byte)(unsafe.Pointer(&sliceHeader{ |
| 56 | Data: p, |
| 57 | Len: n, |
| 58 | Cap: n, |
| 59 | })) |
| 60 | } |
| 61 | |
| 62 | type sliceHeader struct { |
| 63 | Data unsafe.Pointer |
no outgoing calls
no test coverage detected
searching dependent graphs…