MCPcopy Create free account
hub / github.com/Mrs4s/MiraiGo / S2B

Function S2B

utils/string.go:64–66  ·  view source on GitHub ↗

S2B converts string to a byte slice without memory allocation. Note it may break if string and/or slice header will change in the future go versions.

(s string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 9

msgGrayTipProcessorMethod · 0.92
ParseMessageElemsFunction · 0.92
PackMethod · 0.92
PackMethod · 0.92
TestTEAFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestTEAFunction · 0.74