package bytesconv
import "github.com/gin-gonic/gin/internal/bytesconv"
Index ¶
Functions ¶
func BytesToString ¶
BytesToString converts byte slice to string without a memory allocation. For more details, see https://github.com/golang/go/issues/53003#issuecomment-1140276077.
func StringToBytes ¶
StringToBytes converts string to byte slice without a memory allocation. For more details, see https://github.com/golang/go/issues/53003#issuecomment-1140276077.
Source Files ¶
- Version
- v1.10.0 (latest)
- Published
- May 7, 2024
- Platform
- js/wasm
- Imports
- 1 packages
- Last checked
- 3 days ago –
Tools for package owners.