Description

StringByteSlice converts a string to a NUL-terminated []byte, If s contains a NUL byte this function panics instead of returning an error.

Deprecated: Use ByteSliceFromString instead.

StringByteSlice is referenced in 9 repositories

github.com/golang/go github.com/funkygao/golib github.com/grafov/go-stringio

...