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

ascii

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2020 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Valid

func Valid(b []byte) bool

Valid returns true if b contains only ASCII characters.

func ValidByte added in v0.1.2

func ValidByte(b byte) bool

ValidBytes returns true if b is an ASCII character.

func ValidPrint added in v0.1.2

func ValidPrint(b []byte) bool

Valid returns true if b contains only printable ASCII characters.

func ValidPrintByte added in v0.1.2

func ValidPrintByte(b byte) bool

ValidBytes returns true if b is an ASCII character.

func ValidPrintRune added in v0.1.2

func ValidPrintRune(r rune) bool

ValidBytes returns true if b is an ASCII character.

func ValidPrintString added in v0.1.2

func ValidPrintString(s string) bool

ValidString returns true if s contains only printable ASCII characters.

func ValidRune added in v0.1.2

func ValidRune(r rune) bool

ValidBytes returns true if b is an ASCII character.

func ValidString

func ValidString(s string) bool

ValidString returns true if s contains only ASCII characters.

Types

This section is empty.

Jump to

Keyboard shortcuts

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