Help us shape the future of Go! Take the 2026 Go Developer Survey

bytes

package
v2.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2026 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToLower

func ToLower(b []byte) []byte

ToLower converts an ASCII byte slice to lower-case without modifying the input.

func ToUpper

func ToUpper(b []byte) []byte

ToUpper converts an ASCII byte slice to upper-case without modifying the input.

func UnsafeToLower

func UnsafeToLower(b []byte) []byte

UnsafeToLower converts an ASCII byte slice to lower-case in-place. The passed slice content is modified and the same slice is returned.

func UnsafeToUpper

func UnsafeToUpper(b []byte) []byte

UnsafeToUpper converts an ASCII byte slice to upper-case in-place. The passed slice content is modified and the same slice is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL