MCPcopy Index your code
hub / github.com/AlekSi/pointer / ToByte

Function ToByte

pointer.go:22–24  ·  view source on GitHub ↗

ToByte returns a pointer to the passed byte value.

(b byte)

Source from the content-addressed store, hash-verified

20
21// ToByte returns a pointer to the passed byte value.
22func ToByte(b byte) *byte {
23 return &b
24}
25
26// ToComplex64 returns a pointer to the passed complex64 value.
27func ToComplex64(c complex64) *complex64 {

Callers 1

TestByteFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestByteFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…