code: func makeSlice(ptr unsafe.Pointer, size uint) []byte {
  	var sl = struct {
  		addr uintptr
  		len  int
  		cap  int
  	}{uintptr(ptr), int(size), int(size)}
  
  	return *(*[]byte)(unsafe.Pointer(&sl))
  }
docs: // makeSlice convert an unsafe memory pointer with the given type into a Go byte
  // slice.
  //
  // Note, the returned slice uses the same memory area as the input arguments.
  // If those are duktape stack items, popping them off **will** make the slice
  // contents change.