Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToString ¶
func StringToBytes ¶
StringToBytes converts string to byte slice without a memory allocation. WARN: The returned byte slice must not be modified, as strings are immutable. For more details, see https://github.com/golang/go/issues/53003#issuecomment-1140276077.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.