MCPcopy Create free account
hub / github.com/corestoreio/pkg / ToByteE

Function ToByteE

util/conv/caste.go:461–488  ·  view source on GitHub ↗

ToByteE casts an empty interface to a byte slice. Faster than ToStringE because ToByteE avoids some copying of data. Use wisely.

(i interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestToByteFunction · 0.85
ToByteFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestToByteFunction · 0.68