convc

package
v0.0.0-...-eb6d389 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 27, 2016 License: MIT, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToC

func BytesToC(b []byte) (p *uint8, free func())

func BytesToPointer

func BytesToPointer(b []byte) *uint8

func BytesToString

func BytesToString(b []byte) string

func Malloc

func Malloc(size int) (bytes []byte, free func())

func MultiStringToC

func MultiStringToC(ss ...string) (p **uint8, free func())

func PointerToBytes

func PointerToBytes(p *uint8, size int) []byte

func PointerToString

func PointerToString(p *uint8, size int) string

func StringToBytes

func StringToBytes(s string) []byte

func StringToC

func StringToC(s string) (p *uint8, free func())

func StringToPointer

func StringToPointer(s string) *uint8

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL