Documentation
¶
Overview ¶
Package utils provides a set of common utilities, used thoughout the project
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToString ¶
BytesToString converts byte slice to string without copy. Only use this function when you fully understand how it works.
func StringToBytes ¶
StringToBytes converts string to byte slice without copy. Note the byte slice is read only and should not be modified after conversion. The lifecycle of returned bytes depends on input string. Only use this function when you fully understand how it works.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.