Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesView

func BytesView(s interface{}) []byte

    BytesView returns a byte slice view of a slice.

    func GoString

    func GoString(s []byte) string

      GoString convert a NUL-terminated C string to a Go string.

      func SliceOf

      func SliceOf(s uintptr) []byte

        SliceOf returns a slice from a (native) pointer.

        func StructView

        func StructView(s interface{}) []byte

          StructView returns a byte slice view of a struct.

          Types

          This section is empty.

          Source Files