gin: Index | Files

package bytesconv

import ""


Package Files


func BytesToString Uses

func BytesToString(b []byte) string

BytesToString converts byte slice to string without a memory allocation.

func StringToBytes Uses

func StringToBytes(s string) (b []byte)

StringToBytes converts string to byte slice without a memory allocation.

Package bytesconv imports 2 packages (graph) and is imported by 5 packages. Updated 2020-05-24. Refresh now. Tools for package owners.