Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToString ¶
BytesToString converts an array of bytes into a string without allocating. The byte slice passed to this function is not to be used after this call as it's unsafe; you have been warned.
func StringToBytes ¶
StringToBytes converts an existing string into an []byte without allocating. The string passed to this functions is not to be used again after this call as it's unsafe; you have been warned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.