Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GoBytes (0.08 sec)

  1. src/cmd/cgo/out.go

    func _Cfunc_GoStringN(p *_Ctype_char, l _Ctype_int) string {
    	return _cgo_runtime_gostringn(p, int(l))
    }
    `
    
    const goBytesDef = `
    //go:linkname _cgo_runtime_gobytes runtime.gobytes
    func _cgo_runtime_gobytes(unsafe.Pointer, int) []byte
    
    // GoBytes converts the C data p with explicit length l to a Go []byte.
    func _Cfunc_GoBytes(p unsafe.Pointer, l _Ctype_int) []byte {
    	return _cgo_runtime_gobytes(p, int(l))
    }
    `
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
Back to top