Documentation ¶
Index ¶
- func CString2GoString(str unsafe.Pointer) string
- func CStringN2GoString(str unsafe.Pointer, len int) string
- func CVoidPtr2GoByte(ptr unsafe.Pointer, len int) []byte
- func Cptr2Bytes(ptr unsafe.Pointer, l int) []byte
- func GoByte2CharPtr(data []byte) *C.char
- func GoByte2UCharPtr(data []byte) *C.uchar
- func GoByte2uintptr(b []byte) uintptr
- func GoString2CString(str string) *C.char
- func GoString2uintpr(str string) uintptr
- func StrLen(ptr unsafe.Pointer) int
- func Uintptr2String(ptr uintptr) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CString2GoString ¶
func GoByte2CharPtr ¶
func GoByte2UCharPtr ¶
func GoByte2uintptr ¶
func Uintptr2String ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.